linux/drivers/media/i2c/soc_camera
Markus Elfring 19fab6fe67 [media] i2c: Improve a size determination
Replace the specification of a data structure by pointer dereferences
as the parameter for the operator "sizeof" to make size
determination a bit safer according to the Linux coding style convention.

This issue was detected by using the Coccinelle software.

[mchehab@s-opensource.com: merged similar patches]
Signed-off-by: Markus Elfring <elfring@users.sourceforge.net>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2017-10-04 17:15:39 -03:00
..
imx074.c [media] imx074: avoid calling imx074_find_datafmt() twice 2017-04-14 22:28:34 -03:00
Kconfig media: ov6650: convert to standalone v4l2 subdevice 2017-07-18 12:14:31 -03:00
Makefile media: ov6650: convert to standalone v4l2 subdevice 2017-07-18 12:14:31 -03:00
mt9m001.c [media] mt9m001: avoid calling mt9m001_find_datafmt() twice 2017-04-14 22:29:13 -03:00
mt9t031.c media: i2c: make device_type const 2017-08-26 08:40:42 -04:00
mt9t112.c [media] media: i2c: soc_camera: constify v4l2_subdev_* structures 2017-03-23 14:43:49 -03:00
mt9v022.c [media] mt9v022: avoid calling mt9v022_find_datafmt() twice 2017-04-14 22:29:57 -03:00
ov772x.c [media] media: i2c: ov772x: Force use of SCCB protocol 2017-06-23 08:28:05 -03:00
ov5642.c [media] ov5642: avoid calling ov5642_find_datafmt() twice 2017-04-14 22:30:21 -03:00
ov9640.c [media] i2c: Improve a size determination 2017-10-04 17:15:39 -03:00
ov9640.h [media] soc-camera: switch I2C subdevice drivers to use v4l2-clk 2013-06-21 16:32:36 -03:00
ov9740.c [media] i2c: Improve a size determination 2017-10-04 17:15:39 -03:00
rj54n1cb0c.c [media] media: i2c: soc_camera: constify v4l2_subdev_* structures 2017-03-23 14:43:49 -03:00
tw9910.c [media] media: i2c: soc_camera: constify v4l2_subdev_* structures 2017-03-23 14:43:49 -03:00