diff options
Diffstat (limited to 'drivers/mfd')
-rw-r--r-- | drivers/mfd/ab8500-gpadc.c | 2 | ||||
-rw-r--r-- | drivers/mfd/arizona-core.c | 4 | ||||
-rw-r--r-- | drivers/mfd/axp20x.c | 3 | ||||
-rw-r--r-- | drivers/mfd/intel_soc_pmic_crc.c | 3 | ||||
-rw-r--r-- | drivers/mfd/wm8994-core.c | 2 |
5 files changed, 10 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/axp20x.c b/drivers/mfd/axp20x.c index c522ee22b1c0..b1b580a88654 100644 --- a/drivers/mfd/axp20x.c +++ b/drivers/mfd/axp20x.c | |||
@@ -354,6 +354,9 @@ static struct mfd_cell axp288_cells[] = { | |||
354 | .num_resources = ARRAY_SIZE(axp288_battery_resources), | 354 | .num_resources = ARRAY_SIZE(axp288_battery_resources), |
355 | .resources = axp288_battery_resources, | 355 | .resources = axp288_battery_resources, |
356 | }, | 356 | }, |
357 | { | ||
358 | .name = "axp288_pmic_acpi", | ||
359 | }, | ||
357 | }; | 360 | }; |
358 | 361 | ||
359 | static struct axp20x_dev *axp20x_pm_power_off; | 362 | static struct axp20x_dev *axp20x_pm_power_off; |
diff --git a/drivers/mfd/intel_soc_pmic_crc.c b/drivers/mfd/intel_soc_pmic_crc.c index 7107cab832e6..c85e2ecb868a 100644 --- a/drivers/mfd/intel_soc_pmic_crc.c +++ b/drivers/mfd/intel_soc_pmic_crc.c | |||
@@ -106,6 +106,9 @@ static struct mfd_cell crystal_cove_dev[] = { | |||
106 | .num_resources = ARRAY_SIZE(gpio_resources), | 106 | .num_resources = ARRAY_SIZE(gpio_resources), |
107 | .resources = gpio_resources, | 107 | .resources = gpio_resources, |
108 | }, | 108 | }, |
109 | { | ||
110 | .name = "crystal_cove_pmic", | ||
111 | }, | ||
109 | }; | 112 | }; |
110 | 113 | ||
111 | static struct regmap_config crystal_cove_regmap_config = { | 114 | static struct regmap_config crystal_cove_regmap_config = { |
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); |