OMAP2/3: GPIO: generalize prepare for idle
authorKevin Hilman <khilman@deeprootsystems.com>
Tue, 27 Jan 2009 19:09:24 +0000 (11:09 -0800)
committerKevin Hilman <khilman@deeprootsystems.com>
Mon, 10 May 2010 15:03:42 +0000 (08:03 -0700)
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 for doing various preparation
based on the powerstate.

Signed-off-by: Kevin Hilman <khilman@deeprootsystems.com>

No differences found