media: atomisp: Move power-management [un]init into atomisp_pm_[un]init()
authorHans de Goede <hdegoede@redhat.com>
Fri, 29 Dec 2023 22:14:20 +0000 (23:14 +0100)
committerMauro Carvalho Chehab <mchehab@kernel.org>
Thu, 1 Feb 2024 06:04:32 +0000 (07:04 +0100)
commit25752a62312f5a5001ed4939a0cbb19c5bae692f
tree31efaee36b47ec26b8039babb65e39cacf86b45a
parentb03301870d9b5b2e24bb2037d23101556e76d242
media: atomisp: Move power-management [un]init into atomisp_pm_[un]init()

Move the power-management setup and cleanup code into
atomisp_pm_[un]init() helper functions.

Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
drivers/staging/media/atomisp/pci/atomisp_v4l2.c