projects
/
linux-2.6-microblaze.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
1d08382
)
input: pmic8xxx-pwrkey: Do not use mfd_get_data()
author
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 8 Jun 2011 09:06:30 +0000
(11:06 +0200)
committer
Samuel Ortiz
<sameo@linux.intel.com>
Tue, 5 Jul 2011 08:38:43 +0000
(10:38 +0200)
mfd_get_data() has been removed from the MFD API.
Cc: Anirudh Ghayal <aghayal@codeaurora.org>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/input/misc/pmic8xxx-pwrkey.c
patch
|
blob
|
history
diff --git
a/drivers/input/misc/pmic8xxx-pwrkey.c
b/drivers/input/misc/pmic8xxx-pwrkey.c
index
97e07e7
..
b3cfb9c
100644
(file)
--- a/
drivers/input/misc/pmic8xxx-pwrkey.c
+++ b/
drivers/input/misc/pmic8xxx-pwrkey.c
@@
-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");