Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 254594
b: refs/heads/master
c: 63ef112
h: refs/heads/master
v: v3
  • Loading branch information
Samuel Ortiz committed Jul 5, 2011
1 parent caa472f commit e232e30
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 2 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 1d08382a0e8a272fed9517a1b39ae6be634a77d5
refs/heads/master: 63ef1124f1cb07836f232b8eaed1ae4c73899643
3 changes: 2 additions & 1 deletion trunk/drivers/input/misc/pmic8xxx-pwrkey.c
Original file line number Diff line number Diff line change
Expand Up @@ -90,7 +90,8 @@ static int __devinit pmic8xxx_pwrkey_probe(struct platform_device *pdev)
unsigned int delay;
u8 pon_cntl;
struct pmic8xxx_pwrkey *pwrkey;
const struct pm8xxx_pwrkey_platform_data *pdata = mfd_get_data(pdev);
const struct pm8xxx_pwrkey_platform_data *pdata =
dev_get_platdata(&pdev->dev);

if (!pdata) {
dev_err(&pdev->dev, "power key platform data not supplied\n");
Expand Down

0 comments on commit e232e30

Please sign in to comment.