media: atomisp: gc0310: Modernize and simply set_fmt(), get_fmt(), etc.
authorHans de Goede <hdegoede@redhat.com>
Sun, 5 Feb 2023 12:41:27 +0000 (12:41 +0000)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 15 Apr 2023 09:36:03 +0000 (10:36 +0100)
commit9783b96a1e0a38c70a58eec90c9b64d2f7377fe9
tree66821a1e3594a500d9768b7515bd136b603e61c7
parent2b2297b11bb506e5b7152dd593d902bc309b7d54
media: atomisp: gc0310: Modernize and simply set_fmt(), get_fmt(), etc.

There only is 1 supported resolution allowing significant simplification
of the code; and also bring the code up2date with current subdev fmt
handling practices.

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