summaryrefslogtreecommitdiffstats
path: root/drivers/input/misc/bfin_rotary.c
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-05 19:34:45 -0700
committerDmitry Torokhov <dmitry.torokhov@gmail.com>2013-05-05 20:13:53 -0700
commit45d763f953b5ba90af567153c3e1301d65f510e9 (patch)
tree75bb1598f2d1e458bc96df6d7e6288343a80a2cc /drivers/input/misc/bfin_rotary.c
parentaafc72ee3fa2dc366a2689b63d2b3dbe5302cdc7 (diff)
downloadtalos-op-linux-45d763f953b5ba90af567153c3e1301d65f510e9.tar.gz
talos-op-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.c1
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;
}
OpenPOWER on IntegriCloud