]> Gentwo Git Trees - linux/.git/commit
mmc: renesas_sdhi: Switch to SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() and pm_ptr()
authorClaudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Mon, 17 Nov 2025 10:12:41 +0000 (12:12 +0200)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 18 Nov 2025 15:28:54 +0000 (16:28 +0100)
commit50371ef025a433f782c04dfdd3b59251831a8be3
tree90dd0c6db50315ebabde3c9a93c3a58dbe92fe7a
parent15213383a3d9195db582729ab3feb923605b6f63
mmc: renesas_sdhi: Switch to SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() and pm_ptr()

SET_SYSTEM_SLEEP_PM_OPS() and SET_RUNTIME_PM_OPS() require __maybe_unused
or #ifdefs protection against unused function warnings. The usage of
pm_ptr() and SYSTEM_SLEEP_PM_OPS()/RUNTIME_PM_OPS() allows the compiler to
see the functions, thus suppressing the warning. Drop the #ifdefs.

Tested-by: Wolfram Sang <wsa+renesas@sang-engineering.com>
Signed-off-by: Claudiu Beznea <claudiu.beznea.uj@bp.renesas.com>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi_internal_dmac.c
drivers/mmc/host/tmio_mmc.h