aboutsummaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorLars-Peter Clausen <lars@metafoo.de>2010-05-11 20:44:33 -0400
committerRichard Purdie <rpurdie@linux.intel.com>2010-05-26 12:34:39 -0400
commitf5bf403a9dc944bf560f49dd029195e54fcbc41c (patch)
tree6decb6bf67a18ef614788a19e5d39834ccf0b921 /drivers
parent2ddfd12f3584840f5190897214423061d8a0602f (diff)
backlight: pcf50633: Register a pcf50633-backlight device in pcf50633 core driver.
Register a device newly added pcf50633-backlight driver as a child device in the pcf50633 core driver. Signed-off-by: Lars-Peter Clausen <lars@metafoo.de> Acked-by: Samuel Ortiz <sameo@linux.intel.com> Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/mfd/pcf50633-core.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/drivers/mfd/pcf50633-core.c b/drivers/mfd/pcf50633-core.c
index 63a614d696c1..dc95ddb708f1 100644
--- a/drivers/mfd/pcf50633-core.c
+++ b/drivers/mfd/pcf50633-core.c
@@ -620,6 +620,9 @@ static int __devinit pcf50633_probe(struct i2c_client *client,
620 &pcf->mbc_pdev); 620 &pcf->mbc_pdev);
621 pcf50633_client_dev_register(pcf, "pcf50633-adc", 621 pcf50633_client_dev_register(pcf, "pcf50633-adc",
622 &pcf->adc_pdev); 622 &pcf->adc_pdev);
623 pcf50633_client_dev_register(pcf, "pcf50633-backlight",
624 &pcf->bl_pdev);
625
623 626
624 for (i = 0; i < PCF50633_NUM_REGULATORS; i++) { 627 for (i = 0; i < PCF50633_NUM_REGULATORS; i++) {
625 struct platform_device *pdev; 628 struct platform_device *pdev;