Home
last modified time | relevance | path

Searched hist:"43 e6f2d94d91511ce0bdde411ca501cd829eab68" (Results 1 – 1 of 1) sorted by relevance

/openbmc/linux/drivers/pci/controller/dwc/
H A Dpcie-designware-plat.cdiff 43e6f2d94d91511ce0bdde411ca501cd829eab68 Fri Jun 24 09:34:26 CDT 2022 Serge Semin <Sergey.Semin@baikalelectronics.ru> PCI: dwc-plat: Simplify dw_plat_pcie_probe() return values

Save the return value in "ret" for all three cases (DW_PCIE_RC_TYPE,
DW_PCIE_EP_TYPE, default) handled by dw_plat_pcie_probe() and return from a
single place.

[bhelgaas: commit log]
Link: https://lore.kernel.org/r/20220624143428.8334-17-Sergey.Semin@baikalelectronics.ru
Tested-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Serge Semin <Sergey.Semin@baikalelectronics.ru>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
Reviewed-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Reviewed-by: Rob Herring <robh@kernel.org>