[media] omap3isp: Remove redundant platform_set_drvdata()
authorSachin Kamat <sachin.kamat@linaro.org>
Mon, 13 May 2013 09:17:54 +0000 (06:17 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Wed, 12 Jun 2013 21:19:18 +0000 (18:19 -0300)
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>
drivers/media/platform/omap3isp/isp.c

index 4c4bd3d1a2bc8c5a73b22b5fddf723b036145722..5a04077b362b5986738a76fd6df39043bbf13216 100644 (file)
@@ -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;