diff options
author | Biju Das <biju.das.jz@bp.renesas.com> | 2024-02-13 18:12:29 +0000 |
---|---|---|
committer | Hans Verkuil <hverkuil-cisco@xs4all.nl> | 2024-02-15 10:57:54 +0100 |
commit | f243df0a0be0bee39d60136a8f2d1616c63deb1c (patch) | |
tree | f36a3d784c7f2a1a2b7a45462a845d106a5e378e /tools/perf/scripts/python/event_analyzing_sample.py | |
parent | 8c64f4cdf4e6cc5682c52523713af8c39c94e6d5 (diff) |
media: platform: rzg2l-cru: rzg2l-csi2: Switch to RUNTIME_PM_OPS()
Replace the old SET_RUNTIME_PM_OPS() helpers with its modern alternative
RUNTIME_PM_OPS(). The usage of pm_ptr and RUNTIME_PM_OPS() allows the
compiler to see where it's used but still drop the dead code. After this
we can get rid of the unnecessary '__maybe_unused' annotations on PM
functions.
Signed-off-by: Biju Das <biju.das.jz@bp.renesas.com>
Reviewed-by: Laurent Pinchart <laurent.pinchart+renesas@ideasonboard.com>
Link: https://lore.kernel.org/r/20240213181233.242316-2-biju.das.jz@bp.renesas.com
Signed-off-by: Laurent Pinchart <laurent.pinchart@ideasonboard.com>
Signed-off-by: Hans Verkuil <hverkuil-cisco@xs4all.nl>
Diffstat (limited to 'tools/perf/scripts/python/event_analyzing_sample.py')
0 files changed, 0 insertions, 0 deletions