aboutsummaryrefslogtreecommitdiff
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorRob Herring <robh@kernel.org>2020-05-22 17:48:19 -0600
committerLorenzo Pieralisi <lorenzo.pieralisi@arm.com>2020-07-06 09:52:42 +0100
commitc322fa0b3fa948010a278794e60c45ec860e4a1e (patch)
tree1c3390a2a2f8f4dbedfca41d59ef2613391e8b4a /drivers/pci/controller/pci-host-common.c
parent24344226f66beda742f233e08dfb3fb33932275b (diff)
downloadlinux-c322fa0b3fa948010a278794e60c45ec860e4a1e.tar.gz
linux-c322fa0b3fa948010a278794e60c45ec860e4a1e.tar.bz2
linux-c322fa0b3fa948010a278794e60c45ec860e4a1e.zip
PCI: mvebu: Use struct pci_host_bridge.windows list directly
There's no need to create a temporary resource list and then splice it to struct pci_host_bridge.windows list. Just use pci_host_bridge.windows directly. The necessary clean-up is already handled by the PCI core. Link: https://lore.kernel.org/r/20200522234832.954484-3-robh@kernel.org Signed-off-by: Rob Herring <robh@kernel.org> Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> Cc: Thomas Petazzoni <thomas.petazzoni@bootlin.com> Cc: Jason Cooper <jason@lakedaemon.net>
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions