summaryrefslogtreecommitdiffstats
path: root/kernel
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2021-05-27 21:45:47 +0200
committerRob Herring <robh@kernel.org>2021-06-03 03:59:29 +0200
commit67a3156453859ceb40dc4448b7a6a99ea0ad27c7 (patch)
tree44e4612519f5e12a8cb01e9431b9224d954d3fe5 /kernel
parentof: address: Use IS_ENABLED() for !CONFIG_PCI (diff)
downloadlinux-67a3156453859ceb40dc4448b7a6a99ea0ad27c7.tar.xz
linux-67a3156453859ceb40dc4448b7a6a99ea0ad27c7.zip
of: Merge of_address_to_resource() and of_pci_address_to_resource() implementations
of_address_to_resource() and of_pci_address_to_resource() are almost the same except the former takes an index and the latter takes a BAR number. Now that __of_get_address() can take either one, refactor the functions to use a common implementation. Cc: Frank Rowand <frowand.list@gmail.com> Signed-off-by: Rob Herring <robh@kernel.org> Link: https://lore.kernel.org/r/20210527194547.1287934-5-robh@kernel.org
Diffstat (limited to 'kernel')
0 files changed, 0 insertions, 0 deletions