diff options
author | Fabio Estevam <festevam@denx.de> | 2024-08-07 15:26:09 -0300 |
---|---|---|
committer | Laurent Pinchart <laurent.pinchart@ideasonboard.com> | 2024-08-23 16:55:30 +0300 |
commit | 4e3972533f8133cdc2ce5da9c46af8fbe14a573f (patch) | |
tree | b97ca67e3ac55bb02d13597e5f15a176f00635a8 /tools/perf/scripts/python/export-to-postgresql.py | |
parent | 3f6a2f8768e91cdb69947cb589d0b3a09114be83 (diff) |
media: imx-mipi-csis: 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: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Link: https://lore.kernel.org/r/20240807182610.81244-1-festevam@gmail.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Diffstat (limited to 'tools/perf/scripts/python/export-to-postgresql.py')
0 files changed, 0 insertions, 0 deletions