Komal Shah: "TODO:
1. IrDA: See, if workqueues can be seemlessly integrated for GPIO Exapander access on H3 and H4. I will wait for few suggestions from Tony and other members."
Solutions, keeping board-specific data out of driver:
* transceiver_mode(struct omap_irda *si, int mode)
- Passing private omap irda structure to transceiver_mode function.
- but for this, we need to move "struct omap_irda" from our driver file to include/asm-arm/arch-omap/irda.h ? It may not look as clean interface.
* Ugly way: Pass work_struct as transceiver_mode() argument. No applicable to all the platform, so ruled out.
* Add "struct work" in irda platform_data.