diff options
author | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-21 23:36:05 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-22 14:32:34 -0800 |
commit | a5e5da2b6f129d2a4f7a3f0b73dba2f6f63208ef (patch) | |
tree | c9e0c15f97743807b6d5dfa7e9eeb4c5f8b98117 /drivers/input/touchscreen | |
parent | 2de8b4110c82c243530a68381a1c39a4fe05c14f (diff) | |
download | blackbird-op-linux-a5e5da2b6f129d2a4f7a3f0b73dba2f6f63208ef.tar.gz blackbird-op-linux-a5e5da2b6f129d2a4f7a3f0b73dba2f6f63208ef.zip |
Input: max11801_ts - drop call to input_set_drvdata()
Nobody calls input_get_drvdata() so setting it is not required.
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen')
-rw-r--r-- | drivers/input/touchscreen/max11801_ts.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/touchscreen/max11801_ts.c b/drivers/input/touchscreen/max11801_ts.c index d87b89da114e..a595ae5284e3 100644 --- a/drivers/input/touchscreen/max11801_ts.c +++ b/drivers/input/touchscreen/max11801_ts.c @@ -199,7 +199,6 @@ static int max11801_ts_probe(struct i2c_client *client, __set_bit(BTN_TOUCH, input_dev->keybit); input_set_abs_params(input_dev, ABS_X, 0, MAX11801_MAX_X, 0, 0); input_set_abs_params(input_dev, ABS_Y, 0, MAX11801_MAX_Y, 0, 0); - input_set_drvdata(input_dev, data); max11801_ts_phy_init(data); |