]> git.ipfire.org Git - thirdparty/kernel/stable.git/commit
resource: Rename find_resource() to find_resource_space()
authorIlpo Järvinen <ilpo.jarvinen@linux.intel.com>
Tue, 7 May 2024 10:25:17 +0000 (13:25 +0300)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 28 May 2024 16:14:13 +0000 (11:14 -0500)
commit8559125bf7a1d2035f7d3a4e84607e8aad33b160
tree5b3940198de62b562b95c9ba2b60d056d43d71b1
parent1613e604df0cd359cf2a7fbd9be7a0bcfacfabd0
resource: Rename find_resource() to find_resource_space()

Rename find_resource() to find_resource_space() to better describe what the
function does. This is a preparation for exposing it beyond resource.c,
which is needed by PCI core. Also rename the __ variant to match the names.

Link: https://lore.kernel.org/r/20240507102523.57320-3-ilpo.jarvinen@linux.intel.com
Tested-by: Lidong Wang <lidong.wang@intel.com>
Signed-off-by: Ilpo Järvinen <ilpo.jarvinen@linux.intel.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Mika Westerberg <mika.westerberg@linux.intel.com>
kernel/resource.c