summaryrefslogtreecommitdiff
path: root/drivers/input/misc/max8925_onkey.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-06 06:35:43 +0400
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-06 07:14:06 +0400
commit18fc6f5096d4fed93421bedc2a26350520fbd6ba (patch)
treed311b85a63531612bb2a658ae853fac322847d49 /drivers/input/misc/max8925_onkey.c
parent5ed7ecfc79a7d3f16449e95c7368c396b51e1de9 (diff)
downloadlinux-18fc6f5096d4fed93421bedc2a26350520fbd6ba.tar.xz
Input: max8925_onkey - 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/max8925_onkey.c')
-rw-r--r--drivers/input/misc/max8925_onkey.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/misc/max8925_onkey.c b/drivers/input/misc/max8925_onkey.c
index f9179b2585a9..eef41cfc054d 100644
--- a/drivers/input/misc/max8925_onkey.c
+++ b/drivers/input/misc/max8925_onkey.c
@@ -148,8 +148,6 @@ static int max8925_onkey_remove(struct platform_device *pdev)
input_unregister_device(info->idev);
kfree(info);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}