diff options
author | Raphael Gallais-Pou <rgallaispou@gmail.com> | 2025-01-09 16:52:33 +0100 |
---|---|---|
committer | Miquel Raynal <miquel.raynal@bootlin.com> | 2025-01-15 19:10:29 +0100 |
commit | 29b9415889d42e6a32ead89cf897f65696d3cb47 (patch) | |
tree | 6c7495eb0888af74db593c09ded3f0a04678090e /scripts/gdb/linux/utils.py | |
parent | bf5821909eb9c7f5d07d5c6e852ead2c373c94a0 (diff) |
mtd: st_spi_fsm: 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>
Signed-off-by: Miquel Raynal <miquel.raynal@bootlin.com>
Diffstat (limited to 'scripts/gdb/linux/utils.py')
0 files changed, 0 insertions, 0 deletions