OSDN Git Service

usb: ehci-platform: Use devm_of_phy_get_by_index
authorArun Ramamurthy <arun.ramamurthy@broadcom.com>
Wed, 22 Apr 2015 23:04:12 +0000 (16:04 -0700)
committerKishon Vijay Abraham I <kishon@ti.com>
Mon, 11 May 2015 16:12:24 +0000 (21:42 +0530)
commit216e299269c1ec16a241eaba3620b9c6e65385eb
tree4f8fc439e5d6f0f3ff85c4a5d9bdb6ea7fecdf98
parent6be109b31ccdb9c98e7be12687171f6602527a5d
usb: ehci-platform: Use devm_of_phy_get_by_index

Getting phys by index instead of phy names so that we do
not have to create a naming scheme when multiple phys
are present

Signed-off-by: Arun Ramamurthy <arun.ramamurthy@broadcom.com>
Reviewed-by: Ray Jui <rjui@broadcom.com>
Reviewed-by: Scott Branden <sbranden@broadcom.com>
Acked-by: Alan Stern <stern@rowland.harvard.edu>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
drivers/usb/host/ehci-platform.c