diff options
author | Robin Gong <B38343@freescale.com> | 2012-06-28 14:35:37 +0800 |
---|---|---|
committer | Jason Liu <r64343@freescale.com> | 2012-07-20 13:39:10 +0800 |
commit | 58ff970c8d0f86cfd3a62a4910d388fc388f0ab9 (patch) | |
tree | d739674943e03602d79abc6fb5125032da0a4d5b /drivers/regulator | |
parent | faa60f831ea1ba4093f775734abf4d1aeff1612c (diff) |
ENGR00215188-4 PFUZE : remove related old code in pfuze driver
1.remove related old code in pfuze driver
2.add i2c write retry as i2c read retry.
Signed-off-by: Robin Gong <B38343@freescale.com>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/pfuze100-regulator.c | 19 |
1 files changed, 0 insertions, 19 deletions
diff --git a/drivers/regulator/pfuze100-regulator.c b/drivers/regulator/pfuze100-regulator.c index e2aaa2d4e889..34ca0fb45961 100644 --- a/drivers/regulator/pfuze100-regulator.c +++ b/drivers/regulator/pfuze100-regulator.c @@ -657,21 +657,6 @@ static int __devexit pfuze100_regulator_remove(struct platform_device *pdev) return 0; } -#ifdef CONFIG_MX6_INTER_LDO_BYPASS -int cpu_freq_suspend_in; /*judge for in suspend or not*/ -static int pfuze100_regulator_suspend(struct platform_device *pdev, - pm_message_t state) -{ - cpu_freq_suspend_in = 1; - return 0; -} - -static int pfuze100_regulator_resume(struct platform_device *pdev) -{ - cpu_freq_suspend_in = 0; - return 0; -} -#endif static struct platform_driver pfuze100_regulator_driver = { .driver = { .name = "pfuze100-regulator", @@ -679,10 +664,6 @@ static struct platform_driver pfuze100_regulator_driver = { }, .remove = __devexit_p(pfuze100_regulator_remove), .probe = pfuze100_regulator_probe, -#ifdef CONFIG_MX6_INTER_LDO_BYPASS - .suspend = pfuze100_regulator_suspend, - .resume = pfuze100_regulator_resume, -#endif }; static int __init pfuze100_regulator_init(void) |