input: tsc2007: Power optimization in suspend/resume for TSC2007

Disable/enable the voltage regulators during suspend/resume operations.

Change-Id: I0d10edc87d07c01327fa2258aae964d430cae7e3
CRs-Fixed: 258762
Signed-off-by: Anirudh Ghayal <aghayal@codeaurora.org>
This commit is contained in:
Anirudh Ghayal
2010-10-05 15:11:11 +05:30
committed by Stephen Boyd
parent efe979e255
commit 6f1bfa9f89
2 changed files with 31 additions and 1 deletions

View File

@@ -24,6 +24,7 @@ struct tsc2007_platform_data {
interrupt source */
int (*init_platform_hw)(void);
void (*exit_platform_hw)(void);
int (*power_shutdown)(bool);
};
#endif