media: i2c: st-vgxy61: Convert to CCI register access helpers
authorJulien Massot <julien.massot@collabora.com>
Fri, 12 Jan 2024 09:52:28 +0000 (10:52 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 1 Feb 2024 12:31:04 +0000 (13:31 +0100)
commit9a6d7f2ba2b928a939763938e87dc6722f2d43fa
tree3bf513b1d98de758580ce5aab93281be72dcc75a
parent24b41af1f1d203d86b3fb8f4b0e28157908f49dc
media: i2c: st-vgxy61: Convert to CCI register access helpers

Use the new common CCI register access helpers to replace the private
register access helpers in the st-vgxy61 driver. This simplifies the
driver by reducing the amount of code.

st-vgxy61 devices use little endianness arrangement, therefore
the driver uses the CCI_REGx_LE registers definition.

Signed-off-by: Julien Massot <julien.massot@collabora.com>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/media/i2c/Kconfig
drivers/media/i2c/st-vgxy61.c