aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/regulator
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <k.kozlowski@samsung.com>2014-10-29 07:14:53 -0400
committerMark Brown <broonie@kernel.org>2014-10-31 08:34:16 -0400
commita1dd913f4e045927b1e758beadfdc6a180222d96 (patch)
tree157e395d6270db985845a0dcf006f6dc18b86ebd /drivers/regulator
parent6c4159a57a6a4867130fea26fe3f757ce5aaadb8 (diff)
regulator: max77802: Remove suspend_enable
The Maxim 77802 PMIC regulators do not have special enable configuration for suspend. The driver instead enabled them manually which is not a best way to deal with suspend. Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com> Acked-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk> Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator')
-rw-r--r--drivers/regulator/max77802.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/drivers/regulator/max77802.c b/drivers/regulator/max77802.c
index 0464afa1585d..a0d146278b76 100644
--- a/drivers/regulator/max77802.c
+++ b/drivers/regulator/max77802.c
@@ -295,7 +295,6 @@ static struct regulator_ops max77802_ldo_ops_logic1 = {
295 .get_voltage_sel = regulator_get_voltage_sel_regmap, 295 .get_voltage_sel = regulator_get_voltage_sel_regmap,
296 .set_voltage_sel = regulator_set_voltage_sel_regmap, 296 .set_voltage_sel = regulator_set_voltage_sel_regmap,
297 .set_voltage_time_sel = regulator_set_voltage_time_sel, 297 .set_voltage_time_sel = regulator_set_voltage_time_sel,
298 .set_suspend_enable = max77802_enable,
299 .set_suspend_disable = max77802_set_suspend_disable, 298 .set_suspend_disable = max77802_set_suspend_disable,
300 .set_suspend_mode = max77802_set_suspend_mode, 299 .set_suspend_mode = max77802_set_suspend_mode,
301}; 300};
@@ -328,7 +327,6 @@ static struct regulator_ops max77802_buck_16_dvs_ops = {
328 .set_voltage_sel = regulator_set_voltage_sel_regmap, 327 .set_voltage_sel = regulator_set_voltage_sel_regmap,
329 .set_voltage_time_sel = regulator_set_voltage_time_sel, 328 .set_voltage_time_sel = regulator_set_voltage_time_sel,
330 .set_ramp_delay = max77802_set_ramp_delay_4bit, 329 .set_ramp_delay = max77802_set_ramp_delay_4bit,
331 .set_suspend_enable = max77802_enable,
332 .set_suspend_disable = max77802_set_suspend_disable, 330 .set_suspend_disable = max77802_set_suspend_disable,
333}; 331};
334 332
@@ -343,7 +341,6 @@ static struct regulator_ops max77802_buck_234_ops = {
343 .set_voltage_sel = regulator_set_voltage_sel_regmap, 341 .set_voltage_sel = regulator_set_voltage_sel_regmap,
344 .set_voltage_time_sel = regulator_set_voltage_time_sel, 342 .set_voltage_time_sel = regulator_set_voltage_time_sel,
345 .set_ramp_delay = max77802_set_ramp_delay_2bit, 343 .set_ramp_delay = max77802_set_ramp_delay_2bit,
346 .set_suspend_enable = max77802_enable,
347 .set_suspend_disable = max77802_set_suspend_disable, 344 .set_suspend_disable = max77802_set_suspend_disable,
348 .set_suspend_mode = max77802_set_suspend_mode, 345 .set_suspend_mode = max77802_set_suspend_mode,
349}; 346};
@@ -359,7 +356,6 @@ static struct regulator_ops max77802_buck_dvs_ops = {
359 .set_voltage_sel = regulator_set_voltage_sel_regmap, 356 .set_voltage_sel = regulator_set_voltage_sel_regmap,
360 .set_voltage_time_sel = regulator_set_voltage_time_sel, 357 .set_voltage_time_sel = regulator_set_voltage_time_sel,
361 .set_ramp_delay = max77802_set_ramp_delay_2bit, 358 .set_ramp_delay = max77802_set_ramp_delay_2bit,
362 .set_suspend_enable = max77802_enable,
363 .set_suspend_disable = max77802_set_suspend_disable, 359 .set_suspend_disable = max77802_set_suspend_disable,
364}; 360};
365 361