diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 10:39:01 -0400 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-08 12:05:02 -0400 |
commit | e78465ed1f2c0f1012d0cb6a9fb9b9a25e4b8c4d (patch) | |
tree | 997cbd0bcffa0dc517b3ce525d2461cbe4081f41 | |
parent | 86066e6839820b7808b013bac16348b7b1ad8bae (diff) |
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>
-rw-r--r-- | drivers/input/keyboard/spear-keyboard.c | 1 |
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) | |||
290 | clk_unprepare(kbd->clk); | 290 | clk_unprepare(kbd->clk); |
291 | 291 | ||
292 | device_init_wakeup(&pdev->dev, 0); | 292 | device_init_wakeup(&pdev->dev, 0); |
293 | platform_set_drvdata(pdev, NULL); | ||
294 | 293 | ||
295 | return 0; | 294 | return 0; |
296 | } | 295 | } |