linux/drivers/pci/controller
Fuqian Huang befa45fb5b PCI: Use devm_add_action_or_reset()
devm_add_action_or_reset() is a helper function which internally calls
devm_add_action().  If the devm_add_action() fails, it will execute the
action mentioned and return the error code.

Use devm_add_action_or_reset() to reduce source code size (avoid writing
the action twice) and reduce the likelihood of bugs.

Link: https://lore.kernel.org/r/20190708123354.12127-1-huangfq.daxian@gmail.com
Signed-off-by: Fuqian Huang <huangfq.daxian@gmail.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
2019-07-24 14:20:31 -05:00
..
dwc Merge branch 'pci/trivial' 2019-07-12 17:08:41 -05:00
Kconfig PCI: altera-msi: Allow building as module 2019-05-30 15:34:54 +01:00
Makefile
pci-aardvark.c PCI: Fix typos and whitespace errors 2019-07-09 07:24:53 -05:00
pci-ftpci100.c
pci-host-common.c PCI: Use devm_add_action_or_reset() 2019-07-24 14:20:31 -05:00
pci-host-generic.c
pci-hyperv.c PCI: hv: Fix a use-after-free bug in hv_eject_device_work() 2019-07-05 14:37:44 +01:00
pci-mvebu.c
pci-rcar-gen2.c
pci-tegra.c PCI: tegra: Enable Relaxed Ordering only for Tegra20 & Tegra30 2019-07-05 13:59:59 +01:00
pci-thunder-ecam.c
pci-thunder-pem.c
pci-v3-semi.c
pci-versatile.c
pci-xgene-msi.c
pci-xgene.c
pcie-altera-msi.c PCI: altera-msi: Allow building as module 2019-05-30 15:34:54 +01:00
pcie-altera.c PCI: altera: Fix configuration type based on secondary number 2019-06-17 12:22:25 +01:00
pcie-cadence-ep.c
pcie-cadence-host.c
pcie-cadence.c
pcie-cadence.h
pcie-iproc-bcma.c
pcie-iproc-msi.c
pcie-iproc-platform.c PCI: Fix typos and whitespace errors 2019-07-09 07:24:53 -05:00
pcie-iproc.c PCI: Fix typos and whitespace errors 2019-07-09 07:24:53 -05:00
pcie-iproc.h
pcie-mediatek.c Merge branch 'remotes/lorenzo/pci/misc' 2019-05-13 18:34:44 -05:00
pcie-mobiveil.c PCI: mobiveil: Fix INTx interrupt clearing in mobiveil_pcie_isr() 2019-07-08 12:39:09 +01:00
pcie-rcar.c Merge branch 'remotes/lorenzo/pci/rcar' 2019-05-13 18:34:42 -05:00
pcie-rockchip-ep.c PCI: rockchip: Fix rockchip_pcie_ep_assert_intx() bitwise operations 2019-04-15 10:39:26 +01:00
pcie-rockchip-host.c
pcie-rockchip.c
pcie-rockchip.h
pcie-tango.c
pcie-xilinx-nwl.c PCI: xilinx-nwl: Fix Multi MSI data programming 2019-06-26 10:56:51 +01:00
pcie-xilinx.c
vmd.c PCI: Fix typos and whitespace errors 2019-07-09 07:24:53 -05:00