summaryrefslogtreecommitdiff
path: root/tools/perf/scripts/python/libxed.py
diff options
context:
space:
mode:
authorRaphael Gallais-Pou <rgallaispou@gmail.com>2025-01-09 20:54:27 +0300
committerNiklas Cassel <cassel@kernel.org>2025-01-15 17:21:27 +0300
commitf2809aa4f591d98e4c560a23d7eaca804a8afc54 (patch)
tree13fc653f5e0b16d0fbcb05e744f7fe1a1cf437f7 /tools/perf/scripts/python/libxed.py
parentc9b5be909e6595547ed5d45aef39fd65948aa342 (diff)
downloadlinux-f2809aa4f591d98e4c560a23d7eaca804a8afc54.tar.xz
ahci: st: Switch from CONFIG_PM_SLEEP guards to pm_sleep_ptr()
Letting the compiler remove these functions when the kernel is built without CONFIG_PM_SLEEP support is simpler and less error prone than the use of #ifdef based kernel configuration guards. Signed-off-by: Raphael Gallais-Pou <rgallaispou@gmail.com> Reviewed-by: Niklas Cassel <cassel@kernel.org> Link: https://lore.kernel.org/r/20250109175427.64384-1-rgallaispou@gmail.com Signed-off-by: Niklas Cassel <cassel@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/libxed.py')
0 files changed, 0 insertions, 0 deletions