summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-09-20 04:37:51 -0300
committerMauro Carvalho Chehab <m.chehab@samsung.com>2013-10-14 06:33:38 -0300
commit3bf740bf8d4258e1e22176761663cf298518def3 (patch)
tree05604d382ff14c2add7ca4f97ed30bfd92cb293d /drivers
parent39e30a22d2f03feba7fd8cbb79e3c1d93e812c2e (diff)
downloadblackbird-op-linux-3bf740bf8d4258e1e22176761663cf298518def3.tar.gz
blackbird-op-linux-3bf740bf8d4258e1e22176761663cf298518def3.zip
[media] radio-sf16fmr2: Remove redundant dev_set_drvdata
Driver core sets driver data to NULL upon failure or remove. Signed-off-by: Sachin Kamat <sachin.kamat@linaro.org> Acked-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com> Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/radio/radio-sf16fmr2.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/media/radio/radio-sf16fmr2.c b/drivers/media/radio/radio-sf16fmr2.c
index 620c4907e701..93d864eb8306 100644
--- a/drivers/media/radio/radio-sf16fmr2.c
+++ b/drivers/media/radio/radio-sf16fmr2.c
@@ -295,7 +295,6 @@ static void fmr2_remove(struct fmr2 *fmr2)
static int fmr2_isa_remove(struct device *pdev, unsigned int ndev)
{
fmr2_remove(dev_get_drvdata(pdev));
- dev_set_drvdata(pdev, NULL);
return 0;
}
OpenPOWER on IntegriCloud