diff options
author | Dmitry Baryshkov <dmitry.baryshkov@linaro.org> | 2022-05-02 16:19:38 +0530 |
---|---|---|
committer | Lorenzo Pieralisi <lorenzo.pieralisi@arm.com> | 2022-05-11 10:48:35 +0100 |
commit | bc49681c96360e0ff9c6659e352eec3286b968ce (patch) | |
tree | 7ca71c18dc01cf2f209aee8b53239bd55b3ce28c /drivers/pci/controller/dwc/pcie-designware.c | |
parent | 571dda6ca5136c1213bd36b9f298d4487e2b6622 (diff) | |
download | linux-bc49681c96360e0ff9c6659e352eec3286b968ce.tar.bz2 |
PCI: qcom-ep: Move enable/disable resources code to common functions
Remove code duplication by moving the code related to enabling/disabling
the resources (PHY, CLK, Reset) to common functions so that they can be
called from multiple places.
[mani: renamed the functions and reworded the commit message]
Link: https://lore.kernel.org/r/20220502104938.97033-1-manivannan.sadhasivam@linaro.org
Signed-off-by: Dmitry Baryshkov <dmitry.baryshkov@linaro.org>
Signed-off-by: Manivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
Signed-off-by: Lorenzo Pieralisi <lorenzo.pieralisi@arm.com>
Diffstat (limited to 'drivers/pci/controller/dwc/pcie-designware.c')
0 files changed, 0 insertions, 0 deletions