Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 251906
b: refs/heads/master
c: 8ac93be
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Ortiz committed May 26, 2011
1 parent 0a966e6 commit e57f7e1
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 1 deletion.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 121ea573aeb7e9b1d79effa8ef7970031aebda12
refs/heads/master: 8ac93beaab97d56b6e702cc625438f533e361ea5
2 changes: 2 additions & 0 deletions trunk/drivers/mfd/htc-pasic3.c
Original file line number Diff line number Diff line change
Expand Up @@ -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");
Expand Down

0 comments on commit e57f7e1

Please sign in to comment.