diff options
author | Fabio Estevam <[email protected]> | 2024-08-07 15:26:10 -0300 |
---|---|---|
committer | Laurent Pinchart <[email protected]> | 2024-08-23 16:55:30 +0300 |
commit | 4fb5babe965768daf497503f4082e74abd1c0fed (patch) | |
tree | 08cfdc4b98abe10cc9bd3683de7df83d3d5ecb76 /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 4e3972533f8133cdc2ce5da9c46af8fbe14a573f (diff) |
media: imx8mq-mipi-csi2: 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 notation from the runtime
suspend/resume() functions..
Signed-off-by: Fabio Estevam <[email protected]>
Reviewed-by: Laurent Pinchart <[email protected]>
Link: https://lore.kernel.org/r/[email protected]
Signed-off-by: Laurent Pinchart <[email protected]>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions