diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 16:32:57 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-08 18:04:47 +0200 |
commit | 776f2accca36262f5fec51e0574a875554dd400c (patch) | |
tree | 30c610868ab870c33246b2dae10cd581d5ccd3e4 /drivers/input/keyboard | |
parent | Input: jornada720_kbd - remove redundant platform_set_drvdata() (diff) | |
download | linux-776f2accca36262f5fec51e0574a875554dd400c.tar.xz linux-776f2accca36262f5fec51e0574a875554dd400c.zip |
Input: matrix_keypad - 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>
Acked-by: Marek Vasut <marek.vasut@gmail.com>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard')
-rw-r--r-- | drivers/input/keyboard/matrix_keypad.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/keyboard/matrix_keypad.c b/drivers/input/keyboard/matrix_keypad.c index 71d77192ac1e..90ff73ace424 100644 --- a/drivers/input/keyboard/matrix_keypad.c +++ b/drivers/input/keyboard/matrix_keypad.c @@ -549,8 +549,6 @@ static int matrix_keypad_remove(struct platform_device *pdev) input_unregister_device(keypad->input_dev); kfree(keypad); - platform_set_drvdata(pdev, NULL); - return 0; } |