Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

Input: sis_i2c - drop unnecessary call to i2c_set_clientdata

There is no call to i2c_get_clientdata() or dev_get_drvdata().
Drop the unnecessary call to i2c_set_clientdata().

Signed-off-by: Guenter Roeck <linux@roeck-us.net>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>

authored by

Guenter Roeck and committed by
Dmitry Torokhov
aa6f9222 8beb7172

-1
-1
drivers/input/touchscreen/sis_i2c.c
··· 316 316 return -ENOMEM; 317 317 318 318 ts->client = client; 319 - i2c_set_clientdata(client, ts); 320 319 321 320 ts->attn_gpio = devm_gpiod_get_optional(&client->dev, 322 321 "attn", GPIOD_IN);