diff options
author | Axel Lin <axel.lin@ingics.com> | 2019-05-23 22:45:21 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2019-05-23 22:54:44 +0200 |
commit | b62f97634aa9f61efb8e0935658c758140680c84 (patch) | |
tree | 0806eb576659a48ca90ec16f76193ccd1f2ec89c /drivers/input/touchscreen/iqs5xx.c | |
parent | Input: imx6ul_tsc - use devm_platform_ioremap_resource() to simplify code (diff) | |
download | linux-b62f97634aa9f61efb8e0935658c758140680c84.tar.xz linux-b62f97634aa9f61efb8e0935658c758140680c84.zip |
Input: iqs5xx - remove redundant dev_set_drvdata call
Calling i2c_set_clientdata() is enough.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Jeff LaBundy <jeff@labundy.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/touchscreen/iqs5xx.c')
-rw-r--r-- | drivers/input/touchscreen/iqs5xx.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/touchscreen/iqs5xx.c b/drivers/input/touchscreen/iqs5xx.c index b832fe062645..158707897c2d 100644 --- a/drivers/input/touchscreen/iqs5xx.c +++ b/drivers/input/touchscreen/iqs5xx.c @@ -1054,8 +1054,6 @@ static int iqs5xx_probe(struct i2c_client *client, if (!iqs5xx) return -ENOMEM; - dev_set_drvdata(&client->dev, iqs5xx); - i2c_set_clientdata(client, iqs5xx); iqs5xx->client = client; |