media: atomisp: gc0310: Move and rename suspend/resume functions
authorHans de Goede <hansg@kernel.org>
Sat, 17 May 2025 11:41:02 +0000 (13:41 +0200)
committerMauro Carvalho Chehab <mchehab+huawei@kernel.org>
Tue, 8 Jul 2025 06:43:31 +0000 (08:43 +0200)
commit4d697daae8d82201f57c013c745b734cf5f8fd04
tree58df6f4d467476da9d0d1b75ea2cc892804fd19f
parent0f8b9632fa87eab457171198e1de8430536cace4
media: atomisp: gc0310: Move and rename suspend/resume functions

Move the suspend()/resume() functions to above gc0310_detect() and rename
the functions to power_off()/power_on().

No functional changes, this is a preparation patch for reworking
the runtime-pm handling in probe() and remove().

Signed-off-by: Hans de Goede <hansg@kernel.org>
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Link: https://lore.kernel.org/r/20250517114106.43494-20-hansg@kernel.org
Signed-off-by: Mauro Carvalho Chehab <mchehab+huawei@kernel.org>
drivers/staging/media/atomisp/i2c/atomisp-gc0310.c