From: Samuel Ortiz Date: Wed, 8 Jun 2011 09:03:23 +0000 (+0200) Subject: input: pmic8xxx-keypad: Do not use mfd_get_data() X-Git-Tag: v3.0-rc7~51^2~4 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=1d08382a0e8a272fed9517a1b39ae6be634a77d5;p=profile%2Fivi%2Fkernel-x86-ivi.git input: pmic8xxx-keypad: Do not use mfd_get_data() mfd_get_data() has been removed from the MFD API. Cc: Anirudh Ghayal Signed-off-by: Samuel Ortiz --- diff --git a/drivers/input/keyboard/pmic8xxx-keypad.c b/drivers/input/keyboard/pmic8xxx-keypad.c index 40b02ae..6229c3e 100644 --- a/drivers/input/keyboard/pmic8xxx-keypad.c +++ b/drivers/input/keyboard/pmic8xxx-keypad.c @@ -520,7 +520,8 @@ static void pmic8xxx_kp_close(struct input_dev *dev) */ static int __devinit pmic8xxx_kp_probe(struct platform_device *pdev) { - const struct pm8xxx_keypad_platform_data *pdata = mfd_get_data(pdev); + const struct pm8xxx_keypad_platform_data *pdata = + dev_get_platdata(&pdev->dev); const struct matrix_keymap_data *keymap_data; struct pmic8xxx_kp *kp; int rc;