diff options
author | Sachin Kamat <sachin.kamat@linaro.org> | 2013-05-06 04:34:45 +0200 |
---|---|---|
committer | Dmitry Torokhov <dmitry.torokhov@gmail.com> | 2013-05-06 05:13:53 +0200 |
commit | 45d763f953b5ba90af567153c3e1301d65f510e9 (patch) | |
tree | 75bb1598f2d1e458bc96df6d7e6288343a80a2cc /drivers/input/misc/bfin_rotary.c | |
parent | Input: ab8500-ponkey - remove redundant platform_set_drvdata() (diff) | |
download | linux-45d763f953b5ba90af567153c3e1301d65f510e9.tar.xz linux-45d763f953b5ba90af567153c3e1301d65f510e9.zip |
Input: bfin_rotary - 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/bfin_rotary.c')
-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) peripheral_free_list(per_cnt); kfree(rotary); - platform_set_drvdata(pdev, NULL); return 0; } |