media: atomisp: gc0310: Remove gc0310_s_config() function
authorHans de Goede <hdegoede@redhat.com>
Thu, 18 May 2023 14:19:14 +0000 (15:19 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Fri, 9 Jun 2023 13:59:16 +0000 (14:59 +0100)
commitf5e381ffb6fdd021f2a1c0172dce486f647746c6
tree1b5423df37652f8a94be148001fe01fa8c960eba
parent63558464ad4dc25dc012d67d5f1e9fad8abcc28a
media: atomisp: gc0310: Remove gc0310_s_config() function

gc0310_s_config() used to call camera_sensor_platform_data.csi_cfg() back
when the gc0310 driver was still using the atomisp_gmin_platform code
for power-management.

Now it is just a weirdly named wrapper around gc0310_detect(), drop
gc0310_s_config() and make probe() call gc0310_detect() directly.

Link: https://lore.kernel.org/r/20230518153214.194976-8-hdegoede@redhat.com
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