From: Kevin Hilman Date: Tue, 27 Jan 2009 19:09:24 +0000 (-0800) Subject: OMAP2/3: GPIO: generalize prepare for idle X-Git-Url: https://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=c21ea5a63fd0772f7b165c1dc03da83ceaad4ede;p=pandora-kernel.git OMAP2/3: GPIO: generalize prepare for idle 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 --- Reading git-diff-tree failed