diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 04:35:43 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-06 05:14:06 +0200 |
commit | 18fc6f5096d4fed93421bedc2a26350520fbd6ba (patch) | |
tree | d311b85a63531612bb2a658ae853fac322847d49 /drivers/input/misc/max8925_onkey.c | |
parent | Input: gpio_tilt_polled - remove redundant platform_set_drvdata() (diff) | |
download | linux-18fc6f5096d4fed93421bedc2a26350520fbd6ba.tar.xz linux-18fc6f5096d4fed93421bedc2a26350520fbd6ba.zip |
Input: max8925_onkey - 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/misc/max8925_onkey.c')
-rw-r--r-- | drivers/input/misc/max8925_onkey.c | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/input/misc/max8925_onkey.c b/drivers/input/misc/max8925_onkey.c index f9179b2585a9..eef41cfc054d 100644 --- a/drivers/input/misc/max8925_onkey.c +++ b/drivers/input/misc/max8925_onkey.c @@ -148,8 +148,6 @@ static int max8925_onkey_remove(struct platform_device *pdev) input_unregister_device(info->idev); kfree(info); - platform_set_drvdata(pdev, NULL); - return 0; } |