[PATCH 0/4] PCI: dwc: Refine the EP code no functionality change

From: Zhiqiang Hou
Date: Thu Jan 07 2021 - 04:03:32 EST


From: Hou Zhiqiang <Zhiqiang.Hou@xxxxxxx>

Tune the EP mode code slightly to make it more readable.

Hou Zhiqiang (4):
PCI: dwc: Change to use an array to store the structure of functions
PCI: dwc: Add CFG offset info into function's represented structure
PCI: dwc: Rename callback function func_conf_select and its instance
PCI: dwc: Change the parameter of function dw_pcie_ep_reset_bar()

drivers/pci/controller/dwc/pci-dra7xx.c | 2 +-
.../pci/controller/dwc/pci-layerscape-ep.c | 8 +-
drivers/pci/controller/dwc/pcie-artpec6.c | 2 +-
.../pci/controller/dwc/pcie-designware-ep.c | 192 ++++++++----------
.../pci/controller/dwc/pcie-designware-plat.c | 3 +-
drivers/pci/controller/dwc/pcie-designware.h | 11 +-
drivers/pci/controller/dwc/pcie-uniphier-ep.c | 3 +-
7 files changed, 96 insertions(+), 125 deletions(-)

--
2.17.1