mirror of
https://github.com/BobTheBlinker/android_kernel_motorola_sm6375.git
synced 2026-10-28 02:32:09 -04:00
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 <[email protected]> Acked-by: Samuel Ortiz <[email protected]> Signed-off-by: Richard Purdie <[email protected]>
This commit is contained in:
parent
2ddfd12f35
commit
f5bf403a9d
2 changed files with 7 additions and 0 deletions
|
|
@ -620,6 +620,9 @@ static int __devinit pcf50633_probe(struct i2c_client *client,
|
|||
&pcf->mbc_pdev);
|
||||
pcf50633_client_dev_register(pcf, "pcf50633-adc",
|
||||
&pcf->adc_pdev);
|
||||
pcf50633_client_dev_register(pcf, "pcf50633-backlight",
|
||||
&pcf->bl_pdev);
|
||||
|
||||
|
||||
for (i = 0; i < PCF50633_NUM_REGULATORS; i++) {
|
||||
struct platform_device *pdev;
|
||||
|
|
|
|||
Loading…
Reference in a new issue