projects
/
GitHub
/
MotorolaMobilityLLC
/
kernel-slsi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
121ea57
)
mfd: Pass htc-pasic3 led platform data through the cell platform_data
author
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 6 Apr 2011 09:48:53 +0000
(11:48 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Thu, 26 May 2011 17:45:01 +0000
(19:45 +0200)
Cc: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/htc-pasic3.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/mfd/htc-pasic3.c
b/drivers/mfd/htc-pasic3.c
index 95a4ff48b282bc3cb6ecc3019b16c073d369829b..2808bd125d1352303ee49ed968aca8913dc2d6c8 100644
(file)
--- a/
drivers/mfd/htc-pasic3.c
+++ b/
drivers/mfd/htc-pasic3.c
@@
-173,6
+173,8
@@
static int __init pasic3_probe(struct platform_device *pdev)
}
if (pdata && pdata->led_pdata) {
+ led_cell.platform_data = pdata->led_pdata;
+ led_cell.pdata_size = sizeof(struct pasic3_leds_machinfo);
ret = mfd_add_devices(&pdev->dev, pdev->id, &led_cell, 1, r, 0);
if (ret < 0)
dev_warn(dev, "failed to register LED device\n");