diff options
author | Fabio Estevam <festevam@denx.de> | 2024-06-26 20:07:04 -0300 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2024-09-13 10:10:16 +0200 |
commit | 8fdd9cb4f8c03a943090ef55ffb552e05c6defc6 (patch) | |
tree | 15b268ae5f95396a5053a3c8801e4138696c0add /tools/perf/scripts/python/stackcollapse.py | |
parent | 46fe7763c65674be67828cdbe3a72d6d9b8f8aa7 (diff) |
drm/bridge: imx8qxp-ldb: Switch to RUNTIME_PM_OPS()
Replace SET_RUNTIME_PM_OPS with its modern RUNTIME_PM_OPS() alternative.
The combined usage of pm_ptr() and RUNTIME_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 notation from the runtime
suspend/resume() functions.
Signed-off-by: Fabio Estevam <festevam@denx.de>
Reviewed-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://lore.kernel.org/r/20240626230704.708234-6-festevam@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240626230704.708234-6-festevam@gmail.com
Diffstat (limited to 'tools/perf/scripts/python/stackcollapse.py')
0 files changed, 0 insertions, 0 deletions