diff options
Diffstat (limited to 'drivers/input/keyboard/twl4030_keypad.c')
-rw-r--r-- | drivers/input/keyboard/twl4030_keypad.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/twl4030_keypad.c b/drivers/input/keyboard/twl4030_keypad.c index d2d178c84ea7..8bc2879b4c87 100644 --- a/drivers/input/keyboard/twl4030_keypad.c +++ b/drivers/input/keyboard/twl4030_keypad.c | |||
@@ -330,7 +330,7 @@ static int twl4030_kp_program(struct twl4030_keypad *kp) | |||
330 | */ | 330 | */ |
331 | static int twl4030_kp_probe(struct platform_device *pdev) | 331 | static int twl4030_kp_probe(struct platform_device *pdev) |
332 | { | 332 | { |
333 | struct twl4030_keypad_data *pdata = pdev->dev.platform_data; | 333 | struct twl4030_keypad_data *pdata = dev_get_platdata(&pdev->dev); |
334 | const struct matrix_keymap_data *keymap_data; | 334 | const struct matrix_keymap_data *keymap_data; |
335 | struct twl4030_keypad *kp; | 335 | struct twl4030_keypad *kp; |
336 | struct input_dev *input; | 336 | struct input_dev *input; |