diff options
author | Rob Herring <robh@kernel.org> | 2020-05-22 17:48:18 -0600 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2020-07-06 09:52:42 +0100 |
commit | 24344226f66beda742f233e08dfb3fb33932275b (patch) | |
tree | e21880797468f0619ff176206a6a284267f8bd16 /drivers/pci/controller/pci-mvebu.c | |
parent | b3a9e3b9622ae10064826dccb4f7a52bd88c7407 (diff) |
PCI: cadence: 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-2-robh@kernel.org
Signed-off-by: Rob Herring <robh@kernel.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Cc: Tom Joseph <tjoseph@cadence.com>
Diffstat (limited to 'drivers/pci/controller/pci-mvebu.c')
0 files changed, 0 insertions, 0 deletions