summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/max8925_onkey.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-06 04:35:43 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-06 05:14:06 +0200
commit18fc6f5096d4fed93421bedc2a26350520fbd6ba (patch)
treed311b85a63531612bb2a658ae853fac322847d49 /drivers/input/misc/max8925_onkey.c
parentInput: gpio_tilt_polled - remove redundant platform_set_drvdata() (diff)
downloadlinux-18fc6f5096d4fed93421bedc2a26350520fbd6ba.tar.xz
linux-18fc6f5096d4fed93421bedc2a26350520fbd6ba.zip
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;
}