Input: keyboard - drop unnecessary calls to input_set_drvdata
authorGuenter Roeck <linux@roeck-us.net>
Mon, 23 Jan 2017 01:17:40 +0000 (17:17 -0800)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>
Mon, 23 Jan 2017 01:22:25 +0000 (17:22 -0800)
commit14fdb924afd9290d43e64eeb2377d51806de1197
tree45294cb8c286a7f56cacb552c89686d8a2838a1f
parent2ea9c2362b562e227a944e0ae370c9868024884e
Input: keyboard - drop unnecessary calls to input_set_drvdata

If 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>
drivers/input/keyboard/adp5520-keys.c
drivers/input/keyboard/bf54x-keys.c
drivers/input/keyboard/maple_keyb.c
drivers/input/keyboard/opencores-kbd.c
drivers/input/keyboard/tca8418_keypad.c
drivers/input/keyboard/tm2-touchkey.c