summaryrefslogtreecommitdiff
path: root/drivers/media/i2c/rdacm21.c
diff options
context:
space:
mode:
authorTommaso Merciai <tommaso.merciai@amarulasolutions.com>2022-07-13 16:05:01 +0100
committerMauro Carvalho Chehab <mchehab@kernel.org>2022-07-15 15:33:08 +0100
commitcfdb1954435e1dc343f49961ab58a8e20657cd93 (patch)
tree0c5b71384d1e65d0a2cfa4250e812889c81aa3b4 /drivers/media/i2c/rdacm21.c
parent549e622b22ad35d79b5a9ea361854c119584a5fa (diff)
media: ov5693: count num_supplies using array_size
Instead of hardcode OV5693_NUM_SUPPLIES in a define is better use ARRAY_SIZE function to count the number of supplies from ov5693_supply_names array Signed-off-by: Tommaso Merciai <tommaso.merciai@amarulasolutions.com> Reviewed-by: Jacopo Mondi <jacopo@jmondi.org> Reviewed-by: Daniel Scally <djrscally@gmail.com> Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com> Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'drivers/media/i2c/rdacm21.c')
0 files changed, 0 insertions, 0 deletions