diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-23 02:19:12 +0100 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-23 02:22:31 +0100 |
commit | cefb26d4b37c329f624eb235a1bdc7b6b8dd9430 (patch) | |
tree | ea5384a9067c7949dafe1e1a84b3c88e1b97c980 /drivers/input/touchscreen/edt-ft5x06.c | |
parent | Input: dm355evm_keys - drop unnecessary call to input_set_drvdata (diff) | |
download | linux-cefb26d4b37c329f624eb235a1bdc7b6b8dd9430.tar.xz linux-cefb26d4b37c329f624eb235a1bdc7b6b8dd9430.zip |
Input: touchscreen - drop unnecessary calls to input_set_drvdata
Since there is no call to dev_get_drvdata() or input_get_drvdata(),
the call to input_set_drvdata() is unnecessary and can be dropped.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/edt-ft5x06.c')
-rw-r--r-- | drivers/input/touchscreen/edt-ft5x06.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/edt-ft5x06.c b/drivers/input/touchscreen/edt-ft5x06.c index 8fc629fb023f..8cf8d8d5d4ef 100644 --- a/drivers/input/touchscreen/edt-ft5x06.c +++ b/drivers/input/touchscreen/edt-ft5x06.c @@ -982,7 +982,6 @@ static int edt_ft5x06_ts_probe(struct i2c_client *client, return error; } - input_set_drvdata(input, tsdata); i2c_set_clientdata(client, tsdata); irq_flags = irq_get_trigger_type(client->irq); |