[PATCH 3/6] OMAP2/3: GPIO: generalize prepare for idle

2010-05-11 Thread Kevin Hilman
Currently, the GPIO 'prepare' hook is only called when going to off-mode, while the function is called 'prepare_for_retention.' This patch renames the function to 'prepare_for_idle' and calls it for any powersate != PWRDM_POWER_ON passing in the powerstate. The hook itself is then responsible

[PATCH 3/6] OMAP2/3: GPIO: generalize prepare for idle

2010-05-03 Thread Kevin Hilman
Currently, the GPIO 'prepare' hook is only called when going to off-mode, while the function is called 'prepare_for_retention.' This patch renames the function to 'prepare_for_idle' and calls it for any powersate != PWRDM_POWER_ON passing in the powerstate. The hook itself is then responsible