[PATCH 5/5] PCI: dwc: dra7xx: Group phy API invocations

2017-01-11 Thread Kishon Vijay Abraham I
No functional change. Phy APIs like phy_init/phy_power_on is being invoked from multiple places. Group all the phy APIs in dra7xx_pcie_enable_phy() and dra7xx_pcie_disable_phy() and use these functions for enabling or disabling the phy. Signed-off-by: Kishon Vijay Abraham I ---

[PATCH 5/5] PCI: dwc: dra7xx: Group phy API invocations

2017-01-11 Thread Kishon Vijay Abraham I
No functional change. Phy APIs like phy_init/phy_power_on is being invoked from multiple places. Group all the phy APIs in dra7xx_pcie_enable_phy() and dra7xx_pcie_disable_phy() and use these functions for enabling or disabling the phy. Signed-off-by: Kishon Vijay Abraham I ---