summaryrefslogtreecommitdiff
path: root/drivers/input/keyboard/pxa930_rotary.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-06 18:36:22 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-08 20:04:57 +0400
commit84ce3aa1a73d1340584c9bbf371e963a4bcd5aec (patch)
tree83bc26a520d85ea37aab49f347eaedbc0b622e67 /drivers/input/keyboard/pxa930_rotary.c
parentc8712a53671aef12a8b6b3ec4e942ef4f92bc17e (diff)
downloadlinux-84ce3aa1a73d1340584c9bbf371e963a4bcd5aec.tar.xz
Input: pxa930_rotary - remove redundant platform_set_drvdata()
Commit 0998d06310 (device-core: Ensure drvdata = NULL when no driver is bound) removes the need to set driver data field to NULL. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard/pxa930_rotary.c')
-rw-r--r--drivers/input/keyboard/pxa930_rotary.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/pxa930_rotary.c b/drivers/input/keyboard/pxa930_rotary.c
index bcad95be73aa..248cdcf95296 100644
--- a/drivers/input/keyboard/pxa930_rotary.c
+++ b/drivers/input/keyboard/pxa930_rotary.c
@@ -181,7 +181,6 @@ static int pxa930_rotary_remove(struct platform_device *pdev)
free_irq(platform_get_irq(pdev, 0), r);
input_unregister_device(r->input_dev);
iounmap(r->mmio_base);
- platform_set_drvdata(pdev, NULL);
kfree(r);
return 0;