diff options
Diffstat (limited to 'drivers/input/keyboard/adp5520-keys.c')
-rw-r--r-- | drivers/input/keyboard/adp5520-keys.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/adp5520-keys.c b/drivers/input/keyboard/adp5520-keys.c index ef26b17fb159..0dc1151d02fb 100644 --- a/drivers/input/keyboard/adp5520-keys.c +++ b/drivers/input/keyboard/adp5520-keys.c | |||
@@ -71,7 +71,7 @@ static int adp5520_keys_notifier(struct notifier_block *nb, | |||
71 | 71 | ||
72 | static int adp5520_keys_probe(struct platform_device *pdev) | 72 | static int adp5520_keys_probe(struct platform_device *pdev) |
73 | { | 73 | { |
74 | struct adp5520_keys_platform_data *pdata = pdev->dev.platform_data; | 74 | struct adp5520_keys_platform_data *pdata = dev_get_platdata(&pdev->dev); |
75 | struct input_dev *input; | 75 | struct input_dev *input; |
76 | struct adp5520_keys *dev; | 76 | struct adp5520_keys *dev; |
77 | int ret, i; | 77 | int ret, i; |