diff options
Diffstat (limited to 'drivers/input/touchscreen/atmel_mxt_ts.c')
-rw-r--r-- | drivers/input/touchscreen/atmel_mxt_ts.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/atmel_mxt_ts.c b/drivers/input/touchscreen/atmel_mxt_ts.c index 59aa24002c7b..37ea05741d20 100644 --- a/drivers/input/touchscreen/atmel_mxt_ts.c +++ b/drivers/input/touchscreen/atmel_mxt_ts.c | |||
@@ -1130,7 +1130,7 @@ static void mxt_input_close(struct input_dev *dev) | |||
1130 | static int mxt_probe(struct i2c_client *client, | 1130 | static int mxt_probe(struct i2c_client *client, |
1131 | const struct i2c_device_id *id) | 1131 | const struct i2c_device_id *id) |
1132 | { | 1132 | { |
1133 | const struct mxt_platform_data *pdata = client->dev.platform_data; | 1133 | const struct mxt_platform_data *pdata = dev_get_platdata(&client->dev); |
1134 | struct mxt_data *data; | 1134 | struct mxt_data *data; |
1135 | struct input_dev *input_dev; | 1135 | struct input_dev *input_dev; |
1136 | int error; | 1136 | int error; |