]> git.ipfire.org Git - thirdparty/linux.git/commit
dmaengine: sh: usb-dmac: Convert to NOIRQ_SYSTEM_SLEEP/RUNTIME_PM_OPS()
authorGeert Uytterhoeven <geert+renesas@glider.be>
Thu, 4 Sep 2025 15:30:08 +0000 (17:30 +0200)
committerVinod Koul <vkoul@kernel.org>
Thu, 16 Oct 2025 12:11:45 +0000 (17:41 +0530)
commitb46d155e0db3b98a531431357247e15dc357a797
tree80ad5199c7035e2070c4e07540aa0332f9f257ea
parent3a8660878839faadb4f1a6dd72c3179c1df56787
dmaengine: sh: usb-dmac: Convert to NOIRQ_SYSTEM_SLEEP/RUNTIME_PM_OPS()

Convert the Renesas USB-DMA Controller driver from
SET_NOIRQ_SYSTEM_SLEEP_PM_OPS() and SET_RUNTIME_PM_OPS() to
NOIRQ_SYSTEM_SLEEP_PM_OPS(), RUNTIME_PM_OPS(), and pm_ptr().  This lets
us drop the check for CONFIG_PM, and reduces kernel size in case
CONFIG_PM is disabled, while increasing build coverage.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sh/usb-dmac.c