checkpatch: deprecate pcim_iomap_table() and pcim_iomap_regions()
Subsystems (2)
PATCH 1/1 checkpatch: deprecate pcim_iomap_table() and pcim_iomap_regions()
pcim_iomap_table() and pcim_iomap_regions() have been deprecated since e354bb84a4c1 ("PCI: Deprecate pcim_iomap_table(), pcim_iomap_regions_request_all()") and d140f80f6035 ("PCI: Deprecate pcim_iomap_regions() in favor of pcim_iomap_region()") respectively. Teach checkpatch about these to prevent adding new users of these functions.
Signed-off-by Carlos López <[email protected]>
--- scripts/checkpatch.pl | 2 ++ 1 file changed, 2 insertions(+)
scripts/checkpatch.pl +2 -0
@@ -866,6 +866,8 @@ our %deprecated_apis = ( "idr_init_base" => "xa_init_flags", "rcu_read_lock_trace" => "rcu_read_lock_tasks_trace", "rcu_read_unlock_trace" => "rcu_read_unlock_tasks_trace", + "pcim_iomap_regions" => "pcim_iomap_region", + "pcim_iomap_table" => "pcim_iomap", ); #Create a search pattern for all these strings to speed up a loop below
14,368 lines not shown · raw message
Part of this message is not shown here. View the raw message.