diff options
author | Balaji Rao <balajirrao@openmoko.org> | 2008-11-20 19:46:51 +0000 |
---|---|---|
committer | Andy Green <agreen@pads.home.warmcat.com> | 2008-11-20 19:46:51 +0000 |
commit | 1df2598dfebdd1df5bb81c5c8d52fb311c49a7bb (patch) | |
tree | edc6e7a329ac854555216a310851a03328dbee51 /drivers/regulator | |
parent | 003285f5a73979c5909d829e50465b582ee6ccf5 (diff) |
remove_pcf50633_voltage_rails_and_friends.patch
1. Removes pmu_voltage_rails stuff and replaces it with regulator_init_data[]
2. Removes voltage_ldoX and other /sys attributes.
3. Introduces s3c2410_pm_begin method to call regulator_suspend_prepare()
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/pcf50633-regulator.c | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/drivers/regulator/pcf50633-regulator.c b/drivers/regulator/pcf50633-regulator.c index e34e344965c..c7082d857d0 100644 --- a/drivers/regulator/pcf50633-regulator.c +++ b/drivers/regulator/pcf50633-regulator.c @@ -209,7 +209,7 @@ static int pcf50633_regulator_is_enabled(struct regulator_dev *rdev) { uint8_t val, regnr; int regulator_id = rdev_get_id(rdev); - struct pcf50633_data *pcf = rdev_get_drvdata(rdev);; + struct pcf50633_data *pcf = rdev_get_drvdata(rdev); if (regulator_id >= __NUM_PCF50633_REGULATORS) return -EINVAL; @@ -227,6 +227,8 @@ struct regulator_ops pcf50633_regulator_ops = { .enable = pcf50633_regulator_enable, .disable = pcf50633_regulator_disable, .is_enabled = pcf50633_regulator_is_enabled, + .set_suspend_enable = pcf50633_regulator_enable, + .set_suspend_disable = pcf50633_regulator_disable, }; struct regulator_desc regulators[] = { |