diff options
author | Guenter Roeck <linux@roeck-us.net> | 2017-01-21 23:29:36 -0800 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2017-01-21 23:51:49 -0800 |
commit | 666c0b8366b8d5d44251a3889f6a2c264a38dee9 (patch) | |
tree | 7dbfd0b9b99ec14539b49d4671f02d69fd5f2955 /drivers/input/keyboard/gpio_keys_polled.c | |
parent | 83e4947a569f4d544ef4a1361f51c91d73a9c915 (diff) | |
download | op-kernel-dev-666c0b8366b8d5d44251a3889f6a2c264a38dee9.zip op-kernel-dev-666c0b8366b8d5d44251a3889f6a2c264a38dee9.tar.gz |
Input: keyboard - 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/keyboard/gpio_keys_polled.c')
-rw-r--r-- | drivers/input/keyboard/gpio_keys_polled.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/gpio_keys_polled.c b/drivers/input/keyboard/gpio_keys_polled.c index bed4f20..cc193e6 100644 --- a/drivers/input/keyboard/gpio_keys_polled.c +++ b/drivers/input/keyboard/gpio_keys_polled.c @@ -365,7 +365,6 @@ static int gpio_keys_polled_probe(struct platform_device *pdev) bdev->poll_dev = poll_dev; bdev->dev = dev; bdev->pdata = pdata; - platform_set_drvdata(pdev, bdev); error = input_register_polled_device(poll_dev); if (error) { |