media: i2c: ak7375: Prepare for supporting another chip
authorVincent Knecht <vincent.knecht@mailoo.org>
Fri, 1 Dec 2023 18:13:48 +0000 (19:13 +0100)
committerHans Verkuil <hverkuil-cisco@xs4all.nl>
Wed, 13 Dec 2023 12:21:19 +0000 (13:21 +0100)
commit4e671eb56b95de1433da00b4f2c86a21b485fa20
treec233293795617edc602867d07334ab3813df8ef8
parent60fc87a69523c294eb23a1316af922f6665a6f8c
media: i2c: ak7375: Prepare for supporting another chip

In view of adding support for at least one other chip,
change the driver to move chip-specific properties and
values in a common structure.

No functional changes.

Signed-off-by: Vincent Knecht <vincent.knecht@mailoo.org>
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
drivers/media/i2c/ak7375.c