macintosh/via-pmu: register_pmu_pm_ops() can be __init
authorMichael Ellerman <mpe@ellerman.id.au>
Wed, 21 Aug 2024 08:21:01 +0000 (18:21 +1000)
committerMichael Ellerman <mpe@ellerman.id.au>
Thu, 5 Sep 2024 12:30:18 +0000 (22:30 +1000)
commita5a670df1db79f4bb462601aa4cc03caffa761a2
treecb0a1a4e70824770b67c5e3a1d3a906fe37e7ad7
parent5b4bc44a4854ccd41eef9aa9f47677f7d136c294
macintosh/via-pmu: register_pmu_pm_ops() can be __init

register_pmu_pm_ops() is only called at init time, via
device_initcall(), so can be marked __init. The driver can't be built as
a module.

Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Signed-off-by: Michael Ellerman <mpe@ellerman.id.au>
Link: https://msgid.link/20240821082101.877438-1-mpe@ellerman.id.au
drivers/macintosh/via-pmu.c