diff options
author | Raphael Gallais-Pou <rgallaispou@gmail.com> | 2024-07-16 20:00:10 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2024-07-31 12:32:25 +0200 |
commit | 68c341c888f448410de027ca4b3d113f2b437c54 (patch) | |
tree | cf811c9ad5e818c5450e2516af5877b45aae8c42 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 8400291e289ee6b2bf9779ff1c83a291501f017b (diff) |
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/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions