[PATCH 0/3] Add devm_of_phy_get_by_index and update platform drivers

Arun Ramamurthy arun.ramamurthy at broadcom.com
Fri Mar 20 14:07:07 PDT 2015


This patch set adds a new API to get phy by index when multiple 
phys are present. This patch is based on discussion with Arnd Bergmann
about dt bindings for multiple phys. 

Arun Ramamurthy (3):
  phy: core: Add devm_of_phy_get_by_index to phy-core
  usb: ehci-platform: Use devm_of_phy_get_by_index
  usb: ohci-platform: Use devm_of_phy_get_by_index

 drivers/phy/phy-core.c           | 30 ++++++++++++++++++++++++++++++
 drivers/usb/host/ehci-platform.c | 20 ++++----------------
 drivers/usb/host/ohci-platform.c | 20 ++++----------------
 include/linux/phy/phy.h          |  2 ++
 4 files changed, 40 insertions(+), 32 deletions(-)

-- 
2.3.2




More information about the linux-arm-kernel mailing list