summaryrefslogtreecommitdiffstats
path: root/drivers/input/keyboard/spear-keyboard.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-06 16:39:01 +0200
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-08 18:05:02 +0200
commite78465ed1f2c0f1012d0cb6a9fb9b9a25e4b8c4d (patch)
tree997cbd0bcffa0dc517b3ce525d2461cbe4081f41 /drivers/input/keyboard/spear-keyboard.c
parentInput: sh_keysc - remove redundant platform_set_drvdata() (diff)
downloadlinux-e78465ed1f2c0f1012d0cb6a9fb9b9a25e4b8c4d.tar.xz
linux-e78465ed1f2c0f1012d0cb6a9fb9b9a25e4b8c4d.zip
Input: spear-keyboard - 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/keyboard/spear-keyboard.c')
-rw-r--r--drivers/input/keyboard/spear-keyboard.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/spear-keyboard.c b/drivers/input/keyboard/spear-keyboard.c
index cb1e8f614631..7111124b5362 100644
--- a/drivers/input/keyboard/spear-keyboard.c
+++ b/drivers/input/keyboard/spear-keyboard.c
@@ -290,7 +290,6 @@ static int spear_kbd_remove(struct platform_device *pdev)
clk_unprepare(kbd->clk);
device_init_wakeup(&pdev->dev, 0);
- platform_set_drvdata(pdev, NULL);
return 0;
}