linux-media.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Geert Uytterhoeven <geert+renesas@glider.be>
To: "Niklas Söderlund" <niklas.soderlund@ragnatech.se>,
	"Mauro Carvalho Chehab" <mchehab@kernel.org>,
	"Fabrizio Castro" <fabrizio.castro.jz@renesas.com>,
	"Kieran Bingham" <kieran.bingham+renesas@ideasonboard.com>,
	"Jacopo Mondi" <jacopo@jmondi.org>,
	"Laurent Pinchart" <laurent.pinchart@ideasonboard.com>
Cc: linux-media@vger.kernel.org, linux-renesas-soc@vger.kernel.org,
	Geert Uytterhoeven <geert+renesas@glider.be>
Subject: [PATCH 0/5] media: renesas: Convert to modern *_PM_OPS()
Date: Wed,  9 Jul 2025 21:16:06 +0200	[thread overview]
Message-ID: <cover.1752088108.git.geert+renesas@glider.be> (raw)

	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(-)

-- 
2.43.0

Gr{oetje,eeting}s,

						Geert

--
Geert Uytterhoeven -- There's lots of Linux beyond ia32 -- geert@linux-m68k.org

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

             reply	other threads:[~2025-07-09 19:16 UTC|newest]

Thread overview: 19+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-07-09 19:16 Geert Uytterhoeven [this message]
2025-07-09 19:16 ` [PATCH 1/5] media: renesas: rcar_drif: Convert to DEFINE_SIMPLE_DEV_PM_OPS() Geert Uytterhoeven
2025-07-10 11:13   ` Fabrizio Castro
2025-07-10 23:09   ` Laurent Pinchart
2025-07-09 19:16 ` [PATCH 2/5] media: renesas: rcar-vin: " Geert Uytterhoeven
2025-07-10 11:13   ` Fabrizio Castro
2025-07-10 13:02   ` Niklas Söderlund
2025-07-10 23:10   ` Laurent Pinchart
2025-07-09 19:16 ` [PATCH 3/5] media: renesas: fdp1: Convert to RUNTIME_PM_OPS() Geert Uytterhoeven
2025-07-10 11:14   ` Fabrizio Castro
2025-07-10 23:16   ` Laurent Pinchart
2025-07-09 19:16 ` [PATCH 4/5] media: renesas: ceu: " Geert Uytterhoeven
2025-07-10 11:14   ` Fabrizio Castro
2025-07-10 23:20   ` Laurent Pinchart
2025-07-09 19:16 ` [PATCH 5/5] media: renesas: vsp1: Convert to SYSTEM_SLEEP/RUNTIME_PM_OPS() Geert Uytterhoeven
2025-07-10 11:15   ` Fabrizio Castro
2025-07-10 13:51   ` Jacopo Mondi
2025-07-10 23:22   ` Laurent Pinchart
2025-07-10 23:24 ` [PATCH 0/5] media: renesas: Convert to modern *_PM_OPS() Laurent Pinchart

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=cover.1752088108.git.geert+renesas@glider.be \
    --to=geert+renesas@glider.be \
    --cc=fabrizio.castro.jz@renesas.com \
    --cc=jacopo@jmondi.org \
    --cc=kieran.bingham+renesas@ideasonboard.com \
    --cc=laurent.pinchart@ideasonboard.com \
    --cc=linux-media@vger.kernel.org \
    --cc=linux-renesas-soc@vger.kernel.org \
    --cc=mchehab@kernel.org \
    --cc=niklas.soderlund@ragnatech.se \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).