media: atomisp: gc0310: Replace custom reg access functions with smbus helpers
authorHans de Goede <hdegoede@redhat.com>
Sat, 4 Feb 2023 13:41:29 +0000 (13:41 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 09:33:39 +0000 (10:33 +0100)
commit65e5ef2f4bbb90837f56f9231201b0bb67dce2e9
treea03d57f699ea0189dd013d9c879076e1923ee67c
parent86199ed981ad0df0c9566bcf28867a7d299f4518
media: atomisp: gc0310: Replace custom reg access functions with smbus helpers

The gc0310 uses 8 bit register addresses which makes it compatible
with the standard smbus access functions.

Drop the custom reg access helpers, replacing them with the smbus
access functions.

Reviewed-by: Andy Shevchenko <andy.shevchenko@gmail.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c
drivers/staging/media/atomisp/i2c/gc0310.h