diff options
| author | Jisheng Zhang <[email protected]> | 2019-03-29 11:58:53 +0000 |
|---|---|---|
| committer | Bjorn Helgaas <[email protected]> | 2019-05-07 13:54:14 +0000 |
| commit | e6fdd3bf5aecd8615f31a5128775b9abcf3e0d86 (patch) | |
| tree | d3a3ec744ebac2911c6b3bc5ca6ef994f2c2d7d7 /drivers/pci/controller/vmd.c | |
| parent | PCI: dwc: Free MSI in dw_pcie_host_init() error path (diff) | |
| download | kernel-e6fdd3bf5aecd8615f31a5128775b9abcf3e0d86.tar.gz kernel-e6fdd3bf5aecd8615f31a5128775b9abcf3e0d86.zip | |
PCI: dwc: Use devm_pci_alloc_host_bridge() to simplify code
Use devm_pci_alloc_host_bridge() to simplify the error code path. This
also fixes a leak in the dw_pcie_host_init() error path.
Signed-off-by: Jisheng Zhang <[email protected]>
Signed-off-by: Lorenzo Pieralisi <[email protected]>
Signed-off-by: Bjorn Helgaas <[email protected]>
Acked-by: Gustavo Pimentel <[email protected]>
CC: [email protected] # v4.13+
Diffstat (limited to 'drivers/pci/controller/vmd.c')
0 files changed, 0 insertions, 0 deletions
