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)
commit3daaf2c7aae8f16845a59b57d3ae92e3d0965d21
tree7fe32bdc2324421bc51943b42d288402a6b05a2f
parent93e4d69400fdfd721616200fe27809ce139fd734
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