summaryrefslogtreecommitdiffstats
path: root/include/media/omap3isp.h
diff options
context:
space:
mode:
authorSakari Ailus2015-03-25 23:57:29 +0100
committerMauro Carvalho Chehab2015-04-02 21:39:14 +0200
commit4c8f14861cccb7b19cfd582e135847aa772f3854 (patch)
treed67a1d2af4831b9b1b6094852a2b853437ae347a /include/media/omap3isp.h
parent[media] omap3isp: DT support for clocks (diff)
downloadkernel-qcow2-linux-4c8f14861cccb7b19cfd582e135847aa772f3854.tar.gz
kernel-qcow2-linux-4c8f14861cccb7b19cfd582e135847aa772f3854.tar.xz
kernel-qcow2-linux-4c8f14861cccb7b19cfd582e135847aa772f3854.zip
[media] omap3isp: Platform data could be NULL
Only check for call platform data callback functions if there's platform data. Also take care of a few other cases where the NULL pdata pointer could have been accessed, and remove the check for NULL dev->platform_data pointer. Removing the check for NULL dev->platform_data isn't strictly needed by the DT support but there's no harm from that either: the device now can be used without sensors, for instance. Signed-off-by: Sakari Ailus <sakari.ailus@iki.fi> Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'include/media/omap3isp.h')
0 files changed, 0 insertions, 0 deletions