Skip to content

media: renesas: Convert to modern *_PM_OPS()

Geert Uytterhoeven linux-media linux-renesas-soc 1 version In review

Get series with b4
b4 am [email protected]

Versions newest first

  1. v1 Latest5 patches 13 repliesIn review

Patches in v1 No applies recorded yet

#Subject and filesSizeRepliesApplied
1/5media: renesas: rcar_drif: Convert to DEFINE_SIMPLE_DEV_PM_OPS()drivers/media/platform/renesas/rcar_drif.c+5 -52 replies
2/5media: renesas: rcar-vin: Convert to DEFINE_SIMPLE_DEV_PM_OPS()drivers/media/platform/renesas/rcar-vin/rcar-core.c+4 -43 replies
3/5media: renesas: fdp1: Convert to RUNTIME_PM_OPS()drivers/media/platform/renesas/rcar_fdp1.c+4 -62 replies
4/5media: renesas: ceu: Convert to RUNTIME_PM_OPS()drivers/media/platform/renesas/renesas-ceu.c+4 -62 replies
5/5media: renesas: vsp1: Convert to SYSTEM_SLEEP/RUNTIME_PM_OPS()drivers/media/platform/renesas/vsp1/vsp1_drv.c+7 -73 replies

Reviews trailers per patch

All 5 patches have a Reviewed-by or Acked-by.

PatchFabrizio CastroNiklas SöderlundJacopo MondiLaurent Pinchart
1/5R-b R-b
2/5R-b R-b R-b
3/5R-b R-b
4/5R-b R-b
5/5R-b R-b R-b

Trailers given in replies are filled; those carried in the patches from earlier versions are outlined with dashes. Scroll the table sideways for all 4 reviewers.

Read the v1 thread

Cover letter [PATCH 0/5] media: renesas: Convert to modern *_PM_OPS()

Hi all,

This patch series converts the Renesas media drivers from the old SIMPLE_DEV_PM_OPS(), SET_SYSTEM_SLEEP_PM_OPS(), and SET_RUNTIME_PM_OPS() helpers to the modern DEFINE_SIMPLE_DEV_PM_OPS(), SYSTEM_SLEEP_PM_OPS(), RUNTIME_PM_OPS(), pm_ptr(), and pm_sleep_ptr() helpers. This lets us drop the __maybe_unused annotations from power management callbacks, and reduces kernel size in case power management or sleep support is not enabled.

Thanks for your comments!

Geert Uytterhoeven (5):
media: renesas: rcar_drif: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
media: renesas: rcar-vin: Convert to DEFINE_SIMPLE_DEV_PM_OPS()
media: renesas: fdp1: Convert to RUNTIME_PM_OPS()
media: renesas: ceu: Convert to RUNTIME_PM_OPS()
media: renesas: vsp1: Convert to SYSTEM_SLEEP/RUNTIME_PM_OPS()

 .../media/platform/renesas/rcar-vin/rcar-core.c    |  8 ++++----
 drivers/media/platform/renesas/rcar_drif.c         | 10 +++++-----
 drivers/media/platform/renesas/rcar_fdp1.c         | 10 ++++------
 drivers/media/platform/renesas/renesas-ceu.c       | 10 ++++------
 drivers/media/platform/renesas/vsp1/vsp1_drv.c     | 14 +++++++-------
 5 files changed, 24 insertions(+), 28 deletions(-)
Signature · 12 lines
2.43.0

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- [email protected]

In personal conversations with technical people, I call myself a hacker. But
when I'm talking to journalists I just say "programmer" or something like that.
							    -- Linus Torvalds