diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-05 20:00:22 -0700 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-05 20:15:14 -0700 |
commit | 66b0f52c1ee8a88c54e150352995d53832e78d43 (patch) | |
tree | 74d01ed2df2f9c0b6bf0695b1138a0b7414a6043 /drivers/input | |
parent | 3c02d66b32679cd713b91de6827ee09fe26cf75b (diff) |
Input: amimouse - 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')
-rw-r--r-- | drivers/input/mouse/amimouse.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/mouse/amimouse.c b/drivers/input/mouse/amimouse.c index b55d5af217a7..62ec52b2e347 100644 --- a/drivers/input/mouse/amimouse.c +++ b/drivers/input/mouse/amimouse.c @@ -133,7 +133,6 @@ static int __exit amimouse_remove(struct platform_device *pdev) { struct input_dev *dev = platform_get_drvdata(pdev); - platform_set_drvdata(pdev, NULL); input_unregister_device(dev); return 0; } |