media: atomisp_gmin_platform: Unexport and split camera_sensor_csi()
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Sat, 30 Jul 2022 16:20:27 +0000 (18:20 +0200)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Sat, 24 Sep 2022 08:15:15 +0000 (10:15 +0200)
commitdf383edffd2e3af1d0f4df48f248efcb49c58f79
tree63889ea3e5ced6299c7f669a15d7b4b840795acb
parent1e32f6ea43c44c256a3b63f60223d30d46f9d4b1
media: atomisp_gmin_platform: Unexport and split camera_sensor_csi()

The camera_sensor_csi() is not used outside the module, hence make it
static. While at it, split it to _alloc() and _free() to clearly show
the idea behind the last parameter @flag that is passed to
gmin_csi_cfg().

Link: https://lore.kernel.org/r/20220730162027.1011-1-andriy.shevchenko@linux.intel.com
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Acked-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Tested-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/include/linux/atomisp_gmin_platform.h
drivers/staging/media/atomisp/pci/atomisp_gmin_platform.c