aboutsummaryrefslogtreecommitdiff
path: root/include
diff options
context:
space:
mode:
authorBalaji Rao <balajirrao@openmoko.org>2008-11-20 19:46:51 +0000
committerAndy Green <agreen@pads.home.warmcat.com>2008-11-20 19:46:51 +0000
commit1df2598dfebdd1df5bb81c5c8d52fb311c49a7bb (patch)
treeedc6e7a329ac854555216a310851a03328dbee51 /include
parent003285f5a73979c5909d829e50465b582ee6ccf5 (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 'include')
-rw-r--r--include/linux/pcf50633.h20
1 files changed, 0 insertions, 20 deletions
diff --git a/include/linux/pcf50633.h b/include/linux/pcf50633.h
index fbfb2601106..ed14350116d 100644
--- a/include/linux/pcf50633.h
+++ b/include/linux/pcf50633.h
@@ -94,22 +94,6 @@ extern int
pcf50633_gpio_get(struct pcf50633_data *pcf, enum pcf50633_gpio gpio);
extern int
-pcf50633_voltage_set(struct pcf50633_data *pcf,
- enum pcf50633_regulator_id reg,
- unsigned int millivolts);
-extern unsigned int
-pcf50633_voltage_get(struct pcf50633_data *pcf,
- enum pcf50633_regulator_id reg);
-
-extern int
-pcf50633_onoff_get(struct pcf50633_data *pcf,
- enum pcf50633_regulator_id reg);
-
-extern int
-pcf50633_onoff_set(struct pcf50633_data *pcf,
- enum pcf50633_regulator_id reg, int on);
-
-extern int
pcf50633_adc_async_read(struct pcf50633_data *pcf, int mux, int avg,
void (*callback)(struct pcf50633_data *, void *, int),
void *callback_param);
@@ -184,10 +168,6 @@ struct pcf50633_platform_data {
* ordering */
void (*attach_child_devices)(struct device *parent_device);
- /* voltage regulator related */
- struct pmu_voltage_rail rails[__NUM_PCF50633_REGULATORS];
- unsigned int used_regulators;
-
/* charger related */
unsigned int r_fix_batt;
unsigned int r_fix_batt_par;