media: ccs: Better separate CCS static data access
authorSakari Ailus <sakari.ailus@linux.intel.com>
Tue, 7 Nov 2023 09:37:21 +0000 (11:37 +0200)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Mon, 4 Dec 2023 10:21:47 +0000 (11:21 +0100)
commitd180509cca583146f5e6386cbc28c4297d1d7aad
treefcc41672e191495789a1e9e758648c8bc6537ff2
parent5d6ce399d986dcf40d331d825fb2e4f8d0329865
media: ccs: Better separate CCS static data access

Separate CCS static data read-only register access in ccs-reg-access.c by
naming them differently.

The code in this file generally deals with reading and writing registers
where as static data (when it comes to ccs_static_data_read_ro_reg())
contains the read-only register values but no hardware registers are
accessed in that case.

Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/ccs/ccs-reg-access.c