projects
/
firefly-linux-kernel-4.4.55.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
fe0d422
)
input: pmic8xxx-keypad: Do not use mfd_get_data()
author
Samuel Ortiz
<sameo@linux.intel.com>
Wed, 8 Jun 2011 09:03:23 +0000
(11:03 +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/keyboard/pmic8xxx-keypad.c
patch
|
blob
|
history
diff --git
a/drivers/input/keyboard/pmic8xxx-keypad.c
b/drivers/input/keyboard/pmic8xxx-keypad.c
index 40b02ae96f864b0ff2014300cf8b3b2d94afe1d0..6229c3e8e78b807c90ab1a8f549e8b250601679e 100644
(file)
--- 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;