aboutsummaryrefslogtreecommitdiff
path: root/include/linux/mfd/pcf50633/core.h
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-05-24 23:37:19 +0200
committerLars-Peter Clausen <lars@metafoo.de>2010-06-08 15:37:09 +0200
commit4a29094bdf6ff382b7558e242ddb91c67fc200c7 (patch)
treea6956e158bdcf88c2b916e2f383a810f81acef86 /include/linux/mfd/pcf50633/core.h
parent7c3f9799aa31d974507bf73e8c29172ecc672ecf (diff)
MFD: pcf50633: Use mfd cells to register child devices
This patch changes the pcf50633 core code to use mfd cells to register child devices instead of calling platform_device_{alloc,add} for each child. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Diffstat (limited to 'include/linux/mfd/pcf50633/core.h')
-rw-r--r--include/linux/mfd/pcf50633/core.h10
1 files changed, 3 insertions, 7 deletions
diff --git a/include/linux/mfd/pcf50633/core.h b/include/linux/mfd/pcf50633/core.h
index 9953fa14ec9..ae2bd97a4c8 100644
--- a/include/linux/mfd/pcf50633/core.h
+++ b/include/linux/mfd/pcf50633/core.h
@@ -154,13 +154,9 @@ struct pcf50633 {
int onkey1s_held;
- struct platform_device *gpio_pdev;
- struct platform_device *rtc_pdev;
- struct platform_device *mbc_pdev;
- struct platform_device *adc_pdev;
- struct platform_device *input_pdev;
- struct platform_device *bl_pdev;
- struct platform_device *regulator_pdev[PCF50633_NUM_REGULATORS];
+ struct pcf50633_mbc *mbc;
+ struct pcf50633_adc *adc;
+ struct pcf50633_bl *bl;
};
enum pcf50633_reg_int1 {