From: Sakari Ailus <sakari.ailus@linux.intel.com>
To: linux-kernel@vger.kernel.org, Andy Whitcroft <apw@canonical.com>,
Joe Perches <joe@perches.com>
Cc: linux-media@vger.kernel.org, laurent.pinchart@ideasonboard.com,
hans@jjverkuil.nl
Subject: [PATCH 1/1] checkpatch: Deprecate V4L2 pipeline power management code
Date: Mon, 13 Jul 2026 19:13:27 +0300 [thread overview]
Message-ID: <20260713161327.3682-1-sakari.ailus@linux.intel.com> (raw)
The V4L2 pipeline power management code, in particular
v4l2_pipeline_link_notify(), v4l2_pipeline_pm_get() and
v4l2_pipeline_pm_put() are deprecated and shall not be used in new code.
The drivers need to use the Runtime PM instead.
Signed-off-by: Sakari Ailus <sakari.ailus@linux.intel.com>
---
scripts/checkpatch.pl | 3 +++
1 file changed, 3 insertions(+)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index 2b7a42bbdd94..a8a7374dc9c4 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -879,6 +879,9 @@ our %deprecated_apis = (
"DEFINE_IDR" => "DEFINE_XARRAY",
"idr_init" => "xa_init",
"idr_init_base" => "xa_init_flags",
+ "v4l2_pipeline_link_notify" => "",
+ "v4l2_pipeline_pm_get" => "",
+ "v4l2_pipeline_pm_put" => "",
);
#Create a search pattern for all these strings to speed up a loop below
--
2.47.3
next reply other threads:[~2026-07-14 7:58 UTC|newest]
Thread overview: 6+ messages / expand[flat|nested] mbox.gz Atom feed top
2026-07-13 16:13 Sakari Ailus [this message]
2026-07-14 8:15 ` Laurent Pinchart
2026-07-14 10:28 ` Joe Perches
2026-07-14 11:14 ` Sakari Ailus
2026-07-14 12:11 ` Joe Perches
2026-07-14 12:31 ` Sakari Ailus
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=20260713161327.3682-1-sakari.ailus@linux.intel.com \
--to=sakari.ailus@linux.intel.com \
--cc=apw@canonical.com \
--cc=hans@jjverkuil.nl \
--cc=joe@perches.com \
--cc=laurent.pinchart@ideasonboard.com \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-media@vger.kernel.org \
/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
all inboxes | Powered by JetHome®