diff options
author | Fabio Estevam <festevam@denx.de> | 2024-09-02 21:46:55 +0300 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2024-09-04 00:07:58 +0300 |
commit | 02774b14439dd5a8982335e779b62628d85eb76b (patch) | |
tree | 76303a0c247a7e0902e73f850af080ccdc20e9cc /tools/perf/scripts/python/export-to-sqlite.py | |
parent | bf62a8c7908ee8e0ef61d27d9ff65bf12f41fb0a (diff) | |
download | linux-02774b14439dd5a8982335e779b62628d85eb76b.tar.xz |
spi: mxs: Switch to RUNTIME/SYSTEM_SLEEP_PM_OPS()
Replace SET_RUNTIME_PM_OPS()/SET SYSTEM_SLEEP_PM_OPS() with their modern
RUNTIME_PM_OPS() and SYSTEM_SLEEP_PM_OPS() alternatives.
The combined usage of pm_ptr() and RUNTIME_PM_OPS/SYSTEM_SLEEP_PM_OPS()
allows the compiler to evaluate if the runtime suspend/resume() functions
are used at build time or are simply dead code.
This allows removing the __maybe_unused annotations from the
suspend/resume() functions.
Signed-off-by: Fabio Estevam <festevam@denx.de>
Link: https://patch.msgid.link/20240902184655.932699-1-festevam@gmail.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'tools/perf/scripts/python/export-to-sqlite.py')
0 files changed, 0 insertions, 0 deletions