diff options
| author | Raphael Gallais-Pou <[email protected]> | 2025-01-09 17:54:27 +0000 |
|---|---|---|
| committer | Niklas Cassel <[email protected]> | 2025-01-15 14:21:27 +0000 |
| commit | f2809aa4f591d98e4c560a23d7eaca804a8afc54 (patch) | |
| tree | 13fc653f5e0b16d0fbcb05e744f7fe1a1cf437f7 /lib/alloc_tag.c | |
| parent | ahci: Introduce ahci_ignore_port() helper (diff) | |
| download | kernel-f2809aa4f591d98e4c560a23d7eaca804a8afc54.tar.gz kernel-f2809aa4f591d98e4c560a23d7eaca804a8afc54.zip | |
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 <[email protected]>
Reviewed-by: Niklas Cassel <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Niklas Cassel <[email protected]>
Diffstat (limited to 'lib/alloc_tag.c')
0 files changed, 0 insertions, 0 deletions
