diff options
Diffstat (limited to 'drivers/input/touchscreen/edt-ft5x06.c')
-rw-r--r-- | drivers/input/touchscreen/edt-ft5x06.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c index 83fa1b15a97f..af0d68b703b7 100644 --- a/drivers/input/touchscreen/edt-ft5x06.c +++ b/drivers/input/touchscreen/edt-ft5x06.c | |||
@@ -705,7 +705,7 @@ static int edt_ft5x06_ts_probe(struct i2c_client *client, | |||
705 | const struct i2c_device_id *id) | 705 | const struct i2c_device_id *id) |
706 | { | 706 | { |
707 | const struct edt_ft5x06_platform_data *pdata = | 707 | const struct edt_ft5x06_platform_data *pdata = |
708 | client->dev.platform_data; | 708 | dev_get_platdata(&client->dev); |
709 | struct edt_ft5x06_ts_data *tsdata; | 709 | struct edt_ft5x06_ts_data *tsdata; |
710 | struct input_dev *input; | 710 | struct input_dev *input; |
711 | int error; | 711 | int error; |