[PATCH 1/1] checkpatch: Deprecate V4L2 pipeline power management code

From: Sakari Ailus

Date: Tue Jul 14 2026 - 03:58:29 EST


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@xxxxxxxxxxxxxxx>
---
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