diff options
author | Paul Cercueil <paul@crapouillou.net> | 2022-10-23 10:48:31 +0100 |
---|---|---|
committer | Lee Jones <lee@kernel.org> | 2022-12-07 13:28:11 +0000 |
commit | 2662b90fd58b8833894948be07c2f44bfa782ed8 (patch) | |
tree | a1e41c44d82f597354129408efd66c8bf822e1e0 /drivers/dma/idma64.h | |
parent | 245cb473e5388fcbc01c7284b6a4e1446cdbf054 (diff) | |
download | linux-2662b90fd58b8833894948be07c2f44bfa782ed8.tar.bz2 |
mfd: rc5t583-irq: Remove #ifdef guards for PM related functions
Use the new pm_sleep_ptr() macro to handle the .irq_set_wake() callback.
This macro allows the mt6397_irq_set_wake() function to be automatically
dropped by the compiler when CONFIG_SUSPEND is disabled, without having
to use #ifdef guards.
This has the advantage of always compiling these functions in,
independently of any Kconfig option. Thanks to that, bugs and other
regressions are subsequently easier to catch.
Signed-off-by: Paul Cercueil <paul@crapouillou.net>
Signed-off-by: Lee Jones <lee@kernel.org>
Diffstat (limited to 'drivers/dma/idma64.h')
0 files changed, 0 insertions, 0 deletions