Home
last modified time | relevance | path

Searched hist:"2662 b90fd58b8833894948be07c2f44bfa782ed8" (Results 1 – 1 of 1) sorted by relevance

/linux/drivers/mfd/
H A Drc5t583-irq.cdiff 2662b90fd58b8833894948be07c2f44bfa782ed8 Sun Oct 23 11:48:31 CEST 2022 Paul Cercueil <paul@crapouillou.net> 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>