summaryrefslogtreecommitdiff
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorGuenter Roeck <linux@roeck-us.net>2017-01-18 11:44:55 -0800
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2017-01-18 11:49:19 -0800
commitb8f6a6ad777f14e3ec48d410a840621a45fce98a (patch)
tree41d234759dd3ab61d341c4117f30c2b302670167 /drivers/input/misc
parent8ace98df9ade746de229dd75c144a25ec9fe2613 (diff)
Input: ab8500-ponkey - drop unnecessary call to platform_set_drvdata
There is no call to platform_get_drvdata() or dev_get_drvdata(). Drop the unnecessary call to platform_set_drvdata(). Signed-off-by: Guenter Roeck <linux@roeck-us.net> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/misc')
-rw-r--r--drivers/input/misc/ab8500-ponkey.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/ab8500-ponkey.c b/drivers/input/misc/ab8500-ponkey.c
index 4f5ef5bb535b..a33ed5710b15 100644
--- a/drivers/input/misc/ab8500-ponkey.c
+++ b/drivers/input/misc/ab8500-ponkey.c
@@ -109,7 +109,6 @@ static int ab8500_ponkey_probe(struct platform_device *pdev)
return error;
}
- platform_set_drvdata(pdev, ponkey);
return 0;
}