diff options
| author | 2022-11-14 15:44:49 +0000 | |
|---|---|---|
| committer | 2022-11-25 08:23:41 +0000 | |
| commit | 6736a68fe15640e007a75f873cec86bdf9cc47a6 (patch) | |
| tree | 08355f76e594b2098805b6f4ad0ffbbebf379da7 /scripts/Makefile.thinlto | |
| parent | media: atomisp: Remove sw_contex.power_state checks (diff) | |
media: atomisp: Remove duplication between runtime-pm and normal-pm code
atomisp_suspend() contains a 1:1 copy of atomisp_runtime_suspend() and
the same goes for the resume() functions.
Rename the runtime functions to atomisp_power_on()/_off() and use these
as runtime-pm handlers as well as helper in other places to remove
the code duplication.
Reviewed-by: Andy Shevchenko <andy@kernel.org>
Signed-off-by: Hans de Goede <hdegoede@redhat.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@kernel.org>
Diffstat (limited to 'scripts/Makefile.thinlto')
0 files changed, 0 insertions, 0 deletions
