]> git.baikalelectronics.ru Git - kernel.git/commit
pcmcia: Make use of the helper macro SET_NOIRQ_SYSTEM_SLEEP_PM_OPS()
authorCai Huoqing <caihuoqing@baidu.com>
Sat, 28 Aug 2021 09:00:11 +0000 (17:00 +0800)
committerDominik Brodowski <linux@dominikbrodowski.net>
Sun, 2 Jan 2022 17:36:54 +0000 (18:36 +0100)
commitd2710114ea1d5421c22bb2696ac346b9e6c0b9f9
tree7fe32bdc2324421bc51943b42d288402a6b05a2f
parent3dc898647a49e1336abb55bb7097c7888317ddb3
pcmcia: 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>
Signed-off-by: Dominik Brodowski <linux@dominikbrodowski.net>
drivers/pcmcia/yenta_socket.c