linux/drivers/media
Laurent Pinchart 2548df538c media: i2c: imx290: Replace macro with explicit ARRAY_SIZE()
Use ARRAY_SIZE(imx290->supplies) for code that needs the size of the
array, instead of relying on the IMX290_NUM_SUPPLIES. The result is less
error-prone as it ties the size to the array.

Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Reviewed-by: Alexander Stein <alexander.stein@ew.tq-group.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
2022-10-27 14:38:00 +03:00
..
cec media fixes for v6.1-rc2 2022-10-22 15:30:15 -07:00
common treewide: use get_random_{u8,u16}() when possible, part 1 2022-10-11 17:42:58 -06:00
dvb-core media: dvb_vb2: fix possible out of bound access 2022-09-27 10:24:44 +02:00
dvb-frontends media fixes for v6.1-rc2 2022-10-22 15:30:15 -07:00
firewire media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00
i2c media: i2c: imx290: Replace macro with explicit ARRAY_SIZE() 2022-10-27 14:38:00 +03:00
mc media: mc: convert pipeline funcs to take media_pad 2022-09-24 09:22:30 +02:00
mmc media: media/*/Kconfig: sort entries 2022-03-18 05:58:35 +01:00
pci media fixes for v6.1-rc2 2022-10-22 15:30:15 -07:00
platform media: exynos4-is: don't rely on the v4l2_async_subdev internals 2022-10-25 14:34:50 +03:00
radio media fixes for v6.1-rc2 2022-10-22 15:30:15 -07:00
rc media: mceusb: set timeout to at least timeout provided 2022-09-24 07:50:42 +02:00
spi media updates for v5.18-rc1 2022-03-23 14:51:35 -07:00
test-drivers media fixes for v6.1-rc2 2022-10-22 15:30:15 -07:00
tuners media fixes for v6.1-rc2 2022-10-22 15:30:15 -07:00
usb media fixes for v6.1-rc2 2022-10-22 15:30:15 -07:00
v4l2-core media: v4l: ctrls: Add a control for HDR mode 2022-10-25 14:38:31 +03:00
Kconfig media: remove reference to CONFIG_EMBEDDED in MEDIA_SUPPORT_FILTER 2022-09-08 18:19:29 +02:00
Makefile media: Makefiles: remove extra spaces 2022-03-12 16:59:52 +01:00