summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-06 07:23:55 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-08 09:04:30 -0700
commitd0c082d1068751e80562d6f894e310d16a985645 (patch)
treeb4374d98787c4d43cf8d141615d54154cfc122c8
parent7bcbcaa584f9c1723f26413f585a34303e918caa (diff)
downloadop-kernel-dev-d0c082d1068751e80562d6f894e310d16a985645.zip
op-kernel-dev-d0c082d1068751e80562d6f894e310d16a985645.tar.gz
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>
-rw-r--r--drivers/input/keyboard/amikbd.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/keyboard/amikbd.c b/drivers/input/keyboard/amikbd.c
index ba0b36f..096d606 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;
OpenPOWER on IntegriCloud