summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorSachin Kamat <sachin.kamat@linaro.org>2013-05-13 09:17:54 (GMT)
committerMauro Carvalho Chehab <mchehab@redhat.com>2013-06-12 21:19:18 (GMT)
commit5e5726789a2c55db2e41ea8e7171ce4ee4066d01 (patch)
tree142ed86e9296a26b973d4aa3edc0eaeaad23610d
parentab5060cdb8829c0503b7be2b239b52e9a25063b4 (diff)
downloadlinux-5e5726789a2c55db2e41ea8e7171ce4ee4066d01.tar.xz
[media] omap3isp: 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> Acked-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
-rw-r--r--drivers/media/platform/omap3isp/isp.c2
1 files changed, 0 insertions, 2 deletions
diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c
index 4c4bd3d..5a04077 100644
--- a/drivers/media/platform/omap3isp/isp.c
+++ b/drivers/media/platform/omap3isp/isp.c
@@ -2291,8 +2291,6 @@ error_isp:
isp_xclk_cleanup(isp);
omap3isp_put(isp);
error:
- platform_set_drvdata(pdev, NULL);
-
mutex_destroy(&isp->isp_mutex);
return ret;