diff options
author | Raphael Gallais-Pou <rgallaispou@gmail.com> | 2025-06-09 23:21:09 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2025-07-15 13:28:53 +0100 |
commit | 6f8584a4826f01a55d3d0c4bbad5961f1de52fc9 (patch) | |
tree | 124b3b9a50940bae57f1cbd74a267fa9c839e5de /scripts/lib/kdoc/kdoc_parser.py | |
parent | 7d61715c58a39edc5f74fc7366487726fc223530 (diff) |
spi: 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>
Link: https://patch.msgid.link/20250609-update_pm_macro-v1-1-819a53ef0eed@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'scripts/lib/kdoc/kdoc_parser.py')
0 files changed, 0 insertions, 0 deletions