diff options
author | Fabio Estevam <festevam@denx.de> | 2024-06-27 02:07:01 +0300 |
---|---|---|
committer | Neil Armstrong <neil.armstrong@linaro.org> | 2024-09-13 11:10:16 +0300 |
commit | be227772f7e957f98c3c828459b1221cae84de2e (patch) | |
tree | a3b0f774bdc7090fd4da030fe91364678266c3e5 /tools/perf/scripts/python | |
parent | 02b16c5236e1823047f001b9496e59458c9a7482 (diff) | |
download | linux-be227772f7e957f98c3c828459b1221cae84de2e.tar.xz |
drm/bridge: imx8qxp-pixel-combiner: 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-3-festevam@gmail.com
Signed-off-by: Neil Armstrong <neil.armstrong@linaro.org>
Link: https://patchwork.freedesktop.org/patch/msgid/20240626230704.708234-3-festevam@gmail.com
Diffstat (limited to 'tools/perf/scripts/python')
0 files changed, 0 insertions, 0 deletions