Commit 5e572678 authored by Sachin Kamat's avatar Sachin Kamat Committed by Mauro Carvalho Chehab
Browse files

[media] omap3isp: Remove redundant platform_set_drvdata()



Commit 0998d063 (device-core: Ensure drvdata = NULL when no
driver is bound) removes the need to set driver data field to
NULL.

Signed-off-by: default avatarSachin Kamat <sachin.kamat@linaro.org>
Acked-by: default avatarSakari Ailus <sakari.ailus@iki.fi>
Signed-off-by: default avatarLaurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: default avatarMauro Carvalho Chehab <mchehab@redhat.com>
parent ab5060cd
Loading
Loading
Loading
Loading
+0 −2
Original line number Diff line number Diff line
@@ -2291,8 +2291,6 @@ static int isp_probe(struct platform_device *pdev)
	isp_xclk_cleanup(isp);
	omap3isp_put(isp);
error:
	platform_set_drvdata(pdev, NULL);

	mutex_destroy(&isp->isp_mutex);

	return ret;