aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--drivers/input/keyboard/tca8418_keypad.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/keyboard/tca8418_keypad.c b/drivers/input/keyboard/tca8418_keypad.c
index 3bb981af8ac4..ab41a2ea3055 100644
--- a/drivers/input/keyboard/tca8418_keypad.c
+++ b/drivers/input/keyboard/tca8418_keypad.c
@@ -283,7 +283,7 @@ static int tca8418_keypad_probe(struct i2c_client *client,
283{ 283{
284 struct device *dev = &client->dev; 284 struct device *dev = &client->dev;
285 const struct tca8418_keypad_platform_data *pdata = 285 const struct tca8418_keypad_platform_data *pdata =
286 client->dev.platform_data; 286 dev_get_platdata(dev);
287 struct tca8418_keypad *keypad_data; 287 struct tca8418_keypad *keypad_data;
288 struct input_dev *input; 288 struct input_dev *input;
289 const struct matrix_keymap_data *keymap_data = NULL; 289 const struct matrix_keymap_data *keymap_data = NULL;