mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/1] checkpatch: Deprecate V4L2 pipeline power management code
@ 2026-07-13 16:13 Sakari Ailus
  2026-07-14  8:15 ` Laurent Pinchart
  2026-07-14 10:28 ` Joe Perches
  0 siblings, 2 replies; 6+ messages in thread
From: Sakari Ailus @ 2026-07-13 16:13 UTC (permalink / raw)
  To: linux-kernel, Andy Whitcroft, Joe Perches
  Cc: linux-media, laurent.pinchart, hans

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


^ permalink raw reply	[flat|nested] 6+ messages in thread

end of thread, other threads:[~2026-07-14 12:32 UTC | newest]

Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2026-07-13 16:13 [PATCH 1/1] checkpatch: Deprecate V4L2 pipeline power management code Sakari Ailus
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

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®