diff options
author | Raphael Gallais-Pou <rgallaispou@gmail.com> | 2025-01-09 16:58:42 +0100 |
---|---|---|
committer | Jakub Kicinski <kuba@kernel.org> | 2025-01-13 19:01:59 -0800 |
commit | 6e702e6aba84c73617d767285de5bc6270706026 (patch) | |
tree | 7564f9b20725562562b283f83c59d9b0b2343145 /tools/perf/scripts/python/export-to-sqlite.py | |
parent | a4b6539038c1aa1ae871aacf6e41b566c3613993 (diff) |
net: stmmac: sti: 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>
Reviewed-by: Simon Horman <horms@kernel.org>
Reviewed-by: Yanteng Si <si.yanteng@linux.dev>
Link: https://patch.msgid.link/20250109155842.60798-1-rgallaispou@gmail.com
Signed-off-by: Jakub Kicinski <kuba@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions