Commit 5d7a1186 authored by Dmitry Baryshkov's avatar Dmitry Baryshkov Committed by Mani Sadhasivam
Browse files

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.

Signed-off-by: default avatarDmitry Baryshkov <dmitry.baryshkov@linaro.org>
[mani: renamed the functions and reworded the commit message]
Signed-off-by: default avatarManivannan Sadhasivam <manivannan.sadhasivam@linaro.org>
parent 6e6e8b49
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment