aboutsummaryrefslogtreecommitdiffstats
path: root/tools/perf/scripts/python
diff options
context:
space:
mode:
authorRaphael Gallais-Pou <rgallaispou@gmail.com>2024-07-16 20:00:10 +0200
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2024-07-31 12:32:25 +0200
commit68c341c888f448410de027ca4b3d113f2b437c54 (patch)
treecf811c9ad5e818c5450e2516af5877b45aae8c42 /tools/perf/scripts/python
parentLinux 6.11-rc1 (diff)
downloadlinux-68c341c888f448410de027ca4b3d113f2b437c54.tar.gz
linux-68c341c888f448410de027ca4b3d113f2b437c54.zip
serial: st-asc: 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> Link: https://lore.kernel.org/r/20240716180010.126987-1-rgallaispou@gmail.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions