]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
mmc: renesas_sdhi_sys_dmac: Convert to DEFINE_RUNTIME_DEV_PM_OPS()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 5 Mar 2026 09:08:24 +0000 (10:08 +0100)
committerUlf Hansson <ulf.hansson@linaro.org>
Mon, 9 Mar 2026 13:20:57 +0000 (14:20 +0100)
commit4cbdda11fd016689edd5f200726190701bfc7f2a
tree928830a43bd31db08a2db743e8e6109ed1196f03
parentbdc1eb80b9b9793e28f625a790b0ae0387bb5b17
mmc: renesas_sdhi_sys_dmac: Convert to DEFINE_RUNTIME_DEV_PM_OPS()

Convert the Renesas SDHI SD/SDIO controller driver using SYS-DMAC from
an open-coded dev_pm_ops structure to DEFINE_RUNTIME_DEV_PM_OPS() and
pm_ptr().  This simplifies the code, and reduces kernel size in case
CONFIG_PM is disabled.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/renesas_sdhi_sys_dmac.c