[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-Id: <20201113091157.125766-1-u.kleine-koenig@pengutronix.de>
Date: Fri, 13 Nov 2020 10:11:57 +0100
From: Uwe Kleine-König
<u.kleine-koenig@...gutronix.de>
To: linux-kernel@...r.kernel.org,
Greg Kroah-Hartman <gregkh@...uxfoundation.org>
Cc: Thierry Reding <thierry.reding@...il.com>
Subject: [PATCH 3/2] checkpatch: document the function renaming and deprecation around devm_ioremap_resource
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@...gutronix.de>
---
Hello,
this can also be squashed into the respective patches instead.
Best regards
Uwe
scripts/checkpatch.pl | 5 +++++
1 file changed, 5 insertions(+)
diff --git a/scripts/checkpatch.pl b/scripts/checkpatch.pl
index fab38b493cef..5abb87256d4c 100755
--- a/scripts/checkpatch.pl
+++ b/scripts/checkpatch.pl
@@ -615,6 +615,11 @@ our %deprecated_apis = (
"rcu_barrier_sched" => "rcu_barrier",
"get_state_synchronize_sched" => "get_state_synchronize_rcu",
"cond_synchronize_sched" => "cond_synchronize_rcu",
+ "devm_platform_get_and_ioremap_resource" => "devm_platform_get_request_and_ioremap_resource",
+ "devm_platform_ioremap_resource" => "devm_platform_request_ioremap_resource",
+ "devm_platform_ioremap_resource_wc" => "devm_platform_request_ioremap_resource_wc",
+ "devm_ioremap_resource" => "devm_request_ioremap_resource",
+ "devm_ioremap_resource_wc" => "devm_request_ioremap_resource_wc",
);
#Create a search pattern for all these strings to speed up a loop below
--
2.28.0
Powered by blists - more mailing lists