diff options
-rw-r--r-- | drivers/input/misc/bfin_rotary.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/input/misc/bfin_rotary.c b/drivers/input/misc/bfin_rotary.c index a6666e142a91..cd139cb17e32 100644 --- a/drivers/input/misc/bfin_rotary.c +++ b/drivers/input/misc/bfin_rotary.c | |||
@@ -208,7 +208,6 @@ static int bfin_rotary_remove(struct platform_device *pdev) | |||
208 | peripheral_free_list(per_cnt); | 208 | peripheral_free_list(per_cnt); |
209 | 209 | ||
210 | kfree(rotary); | 210 | kfree(rotary); |
211 | platform_set_drvdata(pdev, NULL); | ||
212 | 211 | ||
213 | return 0; | 212 | return 0; |
214 | } | 213 | } |