diff options
Diffstat (limited to 'drivers/mfd/ab8500-gpadc.c')
-rw-r--r-- | drivers/mfd/ab8500-gpadc.c | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/drivers/mfd/ab8500-gpadc.c b/drivers/mfd/ab8500-gpadc.c index 13f7866de46e..3598b0ecf8c7 100644 --- a/drivers/mfd/ab8500-gpadc.c +++ b/drivers/mfd/ab8500-gpadc.c | |||
@@ -886,12 +886,6 @@ static int ab8500_gpadc_runtime_resume(struct device *dev) | |||
886 | return ret; | 886 | return ret; |
887 | } | 887 | } |
888 | 888 | ||
889 | static int ab8500_gpadc_runtime_idle(struct device *dev) | ||
890 | { | ||
891 | pm_runtime_suspend(dev); | ||
892 | return 0; | ||
893 | } | ||
894 | |||
895 | static int ab8500_gpadc_suspend(struct device *dev) | 889 | static int ab8500_gpadc_suspend(struct device *dev) |
896 | { | 890 | { |
897 | struct ab8500_gpadc *gpadc = dev_get_drvdata(dev); | 891 | struct ab8500_gpadc *gpadc = dev_get_drvdata(dev); |
@@ -1039,7 +1033,7 @@ static int ab8500_gpadc_remove(struct platform_device *pdev) | |||
1039 | static const struct dev_pm_ops ab8500_gpadc_pm_ops = { | 1033 | static const struct dev_pm_ops ab8500_gpadc_pm_ops = { |
1040 | SET_RUNTIME_PM_OPS(ab8500_gpadc_runtime_suspend, | 1034 | SET_RUNTIME_PM_OPS(ab8500_gpadc_runtime_suspend, |
1041 | ab8500_gpadc_runtime_resume, | 1035 | ab8500_gpadc_runtime_resume, |
1042 | ab8500_gpadc_runtime_idle) | 1036 | NULL) |
1043 | SET_SYSTEM_SLEEP_PM_OPS(ab8500_gpadc_suspend, | 1037 | SET_SYSTEM_SLEEP_PM_OPS(ab8500_gpadc_suspend, |
1044 | ab8500_gpadc_resume) | 1038 | ab8500_gpadc_resume) |
1045 | 1039 | ||