diff options
-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) | |||
148 | input_unregister_device(info->idev); | 148 | input_unregister_device(info->idev); |
149 | kfree(info); | 149 | kfree(info); |
150 | 150 | ||
151 | platform_set_drvdata(pdev, NULL); | ||
152 | |||
153 | return 0; | 151 | return 0; |
154 | } | 152 | } |
155 | 153 | ||