summaryrefslogtreecommitdiff
path: root/drivers/input/misc/ab8500-ponkey.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-06 06:34:17 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-06 07:13:43 +0400
commitaafc72ee3fa2dc366a2689b63d2b3dbe5302cdc7 (patch)
tree9fce0d3d81e2617583f34cc65fbfd419e3769fc2 /drivers/input/misc/ab8500-ponkey.c
parent1ffb064ec4ea1880f618cb4ed900aab3927187d4 (diff)
downloadlinux-aafc72ee3fa2dc366a2689b63d2b3dbe5302cdc7.tar.xz
Input: ab8500-ponkey - 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/misc/ab8500-ponkey.c')
-rw-r--r--drivers/input/misc/ab8500-ponkey.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/misc/ab8500-ponkey.c b/drivers/input/misc/ab8500-ponkey.c
index 2f090b46e716..f2fbdd88ed20 100644
--- a/drivers/input/misc/ab8500-ponkey.c
+++ b/drivers/input/misc/ab8500-ponkey.c
@@ -127,8 +127,6 @@ static int ab8500_ponkey_remove(struct platform_device *pdev)
input_unregister_device(ponkey->idev);
kfree(ponkey);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}