aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/pci/controller/pci-host-common.c
diff options
context:
space:
mode:
authorRob Herring <[email protected]>2020-07-22 02:25:10 +0000
committerLorenzo Pieralisi <[email protected]>2020-07-23 16:13:13 +0000
commitb411b2e1adb9aa81d75799272dd484c8045f0b88 (patch)
treea9cea6a66845a90dd85b0d1fd9e1ad87e750b333 /drivers/pci/controller/pci-host-common.c
parentPCI: rcar: Use devm_pci_alloc_host_bridge() (diff)
downloadkernel-b411b2e1adb9aa81d75799272dd484c8045f0b88.tar.gz
kernel-b411b2e1adb9aa81d75799272dd484c8045f0b88.zip
PCI: rcar: 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/[email protected] Signed-off-by: Rob Herring <[email protected]> Signed-off-by: Lorenzo Pieralisi <[email protected]> Acked-by: Bjorn Helgaas <[email protected]> Cc: Marek Vasut <[email protected]> Cc: Yoshihiro Shimoda <[email protected]> Cc: Lorenzo Pieralisi <[email protected]> Cc: Bjorn Helgaas <[email protected]> Cc: [email protected] Cc: [email protected]
Diffstat (limited to 'drivers/pci/controller/pci-host-common.c')
0 files changed, 0 insertions, 0 deletions