diff options
-rw-r--r-- | drivers/mfd/ab8500-gpadc.c | 2 | ||||
-rw-r--r-- | drivers/mfd/arizona-core.c | 4 | ||||
-rw-r--r-- | drivers/mfd/wm8994-core.c | 2 |
3 files changed, 4 insertions, 4 deletions
diff --git a/drivers/mfd/ab8500-gpadc.c b/drivers/mfd/ab8500-gpadc.c index 36000f920981..8e3168d160b2 100644 --- a/drivers/mfd/ab8500-gpadc.c +++ b/drivers/mfd/ab8500-gpadc.c | |||
@@ -867,7 +867,7 @@ static void ab8500_gpadc_read_calibration_data(struct ab8500_gpadc *gpadc) | |||
867 | gpadc->cal_data[ADC_INPUT_VBAT].offset); | 867 | gpadc->cal_data[ADC_INPUT_VBAT].offset); |
868 | } | 868 | } |
869 | 869 | ||
870 | #ifdef CONFIG_PM_RUNTIME | 870 | #ifdef CONFIG_PM |
871 | static int ab8500_gpadc_runtime_suspend(struct device *dev) | 871 | static int ab8500_gpadc_runtime_suspend(struct device *dev) |
872 | { | 872 | { |
873 | struct ab8500_gpadc *gpadc = dev_get_drvdata(dev); | 873 | struct ab8500_gpadc *gpadc = dev_get_drvdata(dev); |
diff --git a/drivers/mfd/arizona-core.c b/drivers/mfd/arizona-core.c index bce7c0784b6b..09ba8f186e6a 100644 --- a/drivers/mfd/arizona-core.c +++ b/drivers/mfd/arizona-core.c | |||
@@ -330,7 +330,7 @@ err_fll: | |||
330 | return err; | 330 | return err; |
331 | } | 331 | } |
332 | 332 | ||
333 | #ifdef CONFIG_PM_RUNTIME | 333 | #ifdef CONFIG_PM |
334 | static int arizona_runtime_resume(struct device *dev) | 334 | static int arizona_runtime_resume(struct device *dev) |
335 | { | 335 | { |
336 | struct arizona *arizona = dev_get_drvdata(dev); | 336 | struct arizona *arizona = dev_get_drvdata(dev); |
@@ -1024,7 +1024,7 @@ int arizona_dev_init(struct arizona *arizona) | |||
1024 | goto err_irq; | 1024 | goto err_irq; |
1025 | } | 1025 | } |
1026 | 1026 | ||
1027 | #ifdef CONFIG_PM_RUNTIME | 1027 | #ifdef CONFIG_PM |
1028 | regulator_disable(arizona->dcvdd); | 1028 | regulator_disable(arizona->dcvdd); |
1029 | #endif | 1029 | #endif |
1030 | 1030 | ||
diff --git a/drivers/mfd/wm8994-core.c b/drivers/mfd/wm8994-core.c index e6fab94e2c8a..6ca9d25cc3f0 100644 --- a/drivers/mfd/wm8994-core.c +++ b/drivers/mfd/wm8994-core.c | |||
@@ -116,7 +116,7 @@ static const char *wm8958_main_supplies[] = { | |||
116 | "SPKVDD2", | 116 | "SPKVDD2", |
117 | }; | 117 | }; |
118 | 118 | ||
119 | #ifdef CONFIG_PM_RUNTIME | 119 | #ifdef CONFIG_PM |
120 | static int wm8994_suspend(struct device *dev) | 120 | static int wm8994_suspend(struct device *dev) |
121 | { | 121 | { |
122 | struct wm8994 *wm8994 = dev_get_drvdata(dev); | 122 | struct wm8994 *wm8994 = dev_get_drvdata(dev); |