summaryrefslogtreecommitdiffstats
path: root/drivers
diff options
context:
space:
mode:
authorJavier Martinez Canillas <javier@osg.samsung.com>2015-12-11 15:16:30 -0200
committerMauro Carvalho Chehab <mchehab@osg.samsung.com>2016-01-11 12:19:08 -0200
commit06a1368faf2184c71f086bfc13e81ea153d98798 (patch)
tree4ac82b9d0c1933d8b1409adfeaa9c76a151cb5a8 /drivers
parenta64860e56b2f97bdcd367a6e10624cd0e51b5406 (diff)
downloadlinux-stable-06a1368faf2184c71f086bfc13e81ea153d98798.tar.gz
linux-stable-06a1368faf2184c71f086bfc13e81ea153d98798.tar.bz2
linux-stable-06a1368faf2184c71f086bfc13e81ea153d98798.zip
[media] omap3isp: consistently use v4l2_dev var in complete notifier
The isp_subdev_notifier_complete() complete callback defines a struct v4l2_device *v4l2_dev to avoid needing two level of indirections to access the V4L2 subdevs but the var is not always used when possible as when calling v4l2_device_register_subdev_nodes(). So change that to consistently use the defined v4l2_dev pointer var. Suggested-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Javier Martinez Canillas <javier@osg.samsung.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
Diffstat (limited to 'drivers')
-rw-r--r--drivers/media/platform/omap3isp/isp.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/media/platform/omap3isp/isp.c b/drivers/media/platform/omap3isp/isp.c
index fb17746e4209..8226eca83327 100644
--- a/drivers/media/platform/omap3isp/isp.c
+++ b/drivers/media/platform/omap3isp/isp.c
@@ -2365,7 +2365,7 @@ static int isp_subdev_notifier_complete(struct v4l2_async_notifier *async)
}
}
- return v4l2_device_register_subdev_nodes(&isp->v4l2_dev);
+ return v4l2_device_register_subdev_nodes(v4l2_dev);
}
/*