diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 14:34:41 (GMT) |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-08 16:04:50 (GMT) |
commit | 19b1d74fee8fd9dffb361e29daf0b0a36d398190 (patch) | |
tree | 164903f3598916400f80ca9fcd3bf63bfef74f46 /drivers/input/keyboard/omap4-keypad.c | |
parent | 776f2accca36262f5fec51e0574a875554dd400c (diff) | |
download | linux-fsl-qoriq-19b1d74fee8fd9dffb361e29daf0b0a36d398190.tar.xz |
Input: omap4-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>
Signed-off-by: Dmitry Torokhov <dmitry.torokhov@gmail.com>
Diffstat (limited to 'drivers/input/keyboard/omap4-keypad.c')
-rw-r--r-- | drivers/input/keyboard/omap4-keypad.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/keyboard/omap4-keypad.c b/drivers/input/keyboard/omap4-keypad.c index e25b022..d715c0d 100644 --- a/drivers/input/keyboard/omap4-keypad.c +++ b/drivers/input/keyboard/omap4-keypad.c @@ -425,8 +425,6 @@ static int omap4_keypad_remove(struct platform_device *pdev) kfree(keypad_data->keymap); kfree(keypad_data); - platform_set_drvdata(pdev, NULL); - return 0; } |