]> git.karo-electronics.de Git - karo-tx-linux.git/commit
PCI: dra7xx: Group PHY API invocations
authorKishon Vijay Abraham I <kishon@ti.com>
Wed, 11 Jan 2017 12:06:55 +0000 (17:36 +0530)
committerBjorn Helgaas <bhelgaas@google.com>
Tue, 21 Feb 2017 21:00:12 +0000 (15:00 -0600)
commit1f6c4501c667a6bf25996f04c9cae49a88d90d01
treefde3dd08acb466ef965f64b550c1edfd8f3d9cb6
parentebe85a44aad47bb5f08c5cbd939eb5e40956c73b
PCI: dra7xx: Group PHY API invocations

No functional change.  PHY APIs like phy_init()/phy_power_on() are 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 <kishon@ti.com>
Signed-off-by: Bjorn Helgaas <bhelgaas@google.com>
drivers/pci/dwc/pci-dra7xx.c