diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 16:23:55 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-08 18:04:30 +0200 |
commit | d0c082d1068751e80562d6f894e310d16a985645 (patch) | |
tree | b4374d98787c4d43cf8d141615d54154cfc122c8 /drivers/input/keyboard/amikbd.c | |
parent | Input: w90p910_ts - remove redundant platform_set_drvdata() (diff) | |
download | linux-d0c082d1068751e80562d6f894e310d16a985645.tar.xz linux-d0c082d1068751e80562d6f894e310d16a985645.zip |
Input: amikbd - 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/amikbd.c')
-rw-r--r-- | drivers/input/keyboard/amikbd.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/amikbd.c b/drivers/input/keyboard/amikbd.c index ba0b36f7daea..096d6067ae1f 100644 --- a/drivers/input/keyboard/amikbd.c +++ b/drivers/input/keyboard/amikbd.c @@ -246,7 +246,6 @@ static int __exit amikbd_remove(struct platform_device *pdev) { struct input_dev *dev = platform_get_drvdata(pdev); - platform_set_drvdata(pdev, NULL); free_irq(IRQ_AMIGA_CIAA_SP, dev); input_unregister_device(dev); return 0; |