summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/sun4i-lradc-keys.c
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-01-22 08:29:36 +0100
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-22 08:51:49 +0100
commit666c0b8366b8d5d44251a3889f6a2c264a38dee9 (patch)
tree7dbfd0b9b99ec14539b49d4671f02d69fd5f2955 /drivers/input/keyboard/sun4i-lradc-keys.c
parentInput: gpio-keys - add support for setkeycode (diff)
downloadlinux-666c0b8366b8d5d44251a3889f6a2c264a38dee9.tar.xz
linux-666c0b8366b8d5d44251a3889f6a2c264a38dee9.zip
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/sun4i-lradc-keys.c')
-rw-r--r--drivers/input/keyboard/sun4i-lradc-keys.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/sun4i-lradc-keys.c b/drivers/input/keyboard/sun4i-lradc-keys.c
index cc8f7ddcee53..a37c172452e6 100644
--- a/drivers/input/keyboard/sun4i-lradc-keys.c
+++ b/drivers/input/keyboard/sun4i-lradc-keys.c
@@ -261,7 +261,6 @@ static int sun4i_lradc_probe(struct platform_device *pdev)
if (error)
return error;
- platform_set_drvdata(pdev, lradc);
return 0;
}