]> git.baikalelectronics.ru Git - kernel.git/commit
dmaengine: sa11x0: Make use of the helper macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS()
authorCai Huoqing <caihuoqing@baidu.com>
Sat, 28 Aug 2021 09:01:17 +0000 (17:01 +0800)
committerVinod Koul <vkoul@kernel.org>
Mon, 25 Oct 2021 06:39:15 +0000 (12:09 +0530)
commit49201fba60c77cf6ff55a0af9d4134e063e66d7e
tree411573040c1d4753436706238c5295e9dc96040a
parentbab0cfa8ec914b9baf8cd35a01dd5a45d533e165
dmaengine: sa11x0: Make use of the helper macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS()

Use the helper macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS() instead of the
verbose operators ".suspend_noirq /.resume_noirq/.freeze_noirq/
.thaw_noirq/.poweroff_noirq/.restore_noirq", because the
SET_NOIRQ_SYSTEM_SLEEP_PM_OPS() is a nice helper macro that could
be brought in to make code a little clearer, a little more concise.

Signed-off-by: Cai Huoqing <caihuoqing@baidu.com>
Link: https://lore.kernel.org/r/20210828090117.1814-1-caihuoqing@baidu.com
Signed-off-by: Vinod Koul <vkoul@kernel.org>
drivers/dma/sa11x0-dma.c