From 1df2598dfebdd1df5bb81c5c8d52fb311c49a7bb Mon Sep 17 00:00:00 2001 From: Balaji Rao Date: Thu, 20 Nov 2008 19:46:51 +0000 Subject: 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() --- include/linux/pcf50633.h | 20 -------------------- 1 file changed, 20 deletions(-) (limited to 'include/linux') 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 @@ -93,22 +93,6 @@ pcf50633_gpio_set(struct pcf50633_data *pcf, enum pcf50633_gpio gpio, int on); 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), @@ -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; -- cgit v1.2.3