diff options
author | Samuel Ortiz <sameo@linux.intel.com> | 2011-06-08 13:06:30 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2011-07-05 12:38:43 +0400 |
commit | 63ef1124f1cb07836f232b8eaed1ae4c73899643 (patch) | |
tree | b2c5886b28c0e4b12ea6f81693de304434dcb001 | |
parent | 1d08382a0e8a272fed9517a1b39ae6be634a77d5 (diff) | |
download | linux-63ef1124f1cb07836f232b8eaed1ae4c73899643.tar.xz |
input: pmic8xxx-pwrkey: Do not use mfd_get_data()
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>
-rw-r--r-- | drivers/input/misc/pmic8xxx-pwrkey.c | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/drivers/input/misc/pmic8xxx-pwrkey.c b/drivers/input/misc/pmic8xxx-pwrkey.c index 97e07e786e41..b3cfb9c71e66 100644 --- 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"); |