summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-05 19:36:11 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-05 20:14:14 -0700
commitb189e4d94d747004fc297524377029c9ada72ba2 (patch)
treea0f717343ff11b4e1b965fa0fcaaf7ea6a27e2af /drivers/input/misc
parent7a9f4ff23ffc164b542cec07073efbe8f6c2a3f3 (diff)
downloadtalos-op-linux-b189e4d94d747004fc297524377029c9ada72ba2.tar.gz
talos-op-linux-b189e4d94d747004fc297524377029c9ada72ba2.zip
Input: pm8xxx-vibrator - 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')
-rw-r--r--drivers/input/misc/pm8xxx-vibrator.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/misc/pm8xxx-vibrator.c b/drivers/input/misc/pm8xxx-vibrator.c
index a9da65e41c5b..ec086f6f3cc3 100644
--- a/drivers/input/misc/pm8xxx-vibrator.c
+++ b/drivers/input/misc/pm8xxx-vibrator.c
@@ -249,8 +249,6 @@ static int pm8xxx_vib_remove(struct platform_device *pdev)
input_unregister_device(vib->vib_input_dev);
kfree(vib);
- platform_set_drvdata(pdev, NULL);
-
return 0;
}
OpenPOWER on IntegriCloud