diff options
author | Rob Herring <robh@kernel.org> | 2019-10-28 11:32:46 -0500 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2019-10-29 10:51:46 +0000 |
commit | 3c65ebff8faedfc3386e6e1ad91adf2bdb8eeaa7 (patch) | |
tree | 7f77488665e752c49b88bd2299879c3d60724a31 /drivers/pci/controller/pci-host-common.c | |
parent | ee352c272e41c67aac887cbfd8c6aa71e5721997 (diff) | |
download | linux-3c65ebff8faedfc3386e6e1ad91adf2bdb8eeaa7.tar.bz2 |
PCI: xilinx-nwl: Use pci_parse_request_of_pci_ranges()
Convert the xilinx-nwl host bridge to use the common
pci_parse_request_of_pci_ranges().
There's no need to assign the resources to a temporary list first. Just
use bridge->windows directly and remove all the temporary list handling.
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Andrew Murray <andrew.murray@arm.com>
Cc: Bjorn Helgaas <bhelgaas@google.com>
Cc: Michal Simek <michal.simek@xilinx.com>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions