aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorPaul Cercueil <paul@crapouillou.net>2022-10-23 10:48:31 +0100
committerLee Jones <lee@kernel.org>2022-12-07 13:28:11 +0000
commit2662b90fd58b8833894948be07c2f44bfa782ed8 (patch)
treea1e41c44d82f597354129408efd66c8bf822e1e0 /tools/perf/scripts/python
parentmfd: pcf50633: Remove #ifdef guards for PM related functions (diff)
downloadlinux-2662b90fd58b8833894948be07c2f44bfa782ed8.tar.gz
linux-2662b90fd58b8833894948be07c2f44bfa782ed8.zip
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 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions