summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-06 02:36:11 (GMT)
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-06 03:14:14 (GMT)
commitb189e4d94d747004fc297524377029c9ada72ba2 (patch)
treea0f717343ff11b4e1b965fa0fcaaf7ea6a27e2af
parent7a9f4ff23ffc164b542cec07073efbe8f6c2a3f3 (diff)
downloadlinux-fsl-qoriq-b189e4d94d747004fc297524377029c9ada72ba2.tar.xz
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>
-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 a9da65e..ec086f6 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;
}