diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-21 23:33:01 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-21 23:51:53 -0800 |
commit | 8300445cc7c14b1532a4891f2d25a649d6437daa (patch) | |
tree | 1a27984dfa5713ffb57e4de770ba1b902f45b160 /drivers/input/touchscreen/max11801_ts.c | |
parent | 4cd216cbe744f907e7201f1f93f383980b7f931a (diff) | |
download | blackbird-op-linux-8300445cc7c14b1532a4891f2d25a649d6437daa.tar.gz blackbird-op-linux-8300445cc7c14b1532a4891f2d25a649d6437daa.zip |
Input: touchscreen - drop calls to platform_set_drvdata and i2c_set_clientdata
There is no call to i2c_get_clientdata(), platform_get_drvdata(),
or dev_get_drvdata() in any of the drivers in this patch.
Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/max11801_ts.c')
-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 82079cde849c..d87b89da114e 100644 --- a/drivers/input/touchscreen/max11801_ts.c +++ b/drivers/input/touchscreen/max11801_ts.c @@ -216,7 +216,6 @@ static int max11801_ts_probe(struct i2c_client *client, if (error) return error; - i2c_set_clientdata(client, data); return 0; } |