diff options
author | Kishon Vijay Abraham I <kishon@ti.com> | 2013-01-25 03:33:25 +0100 |
---|---|---|
committer | Felipe Balbi <balbi@ti.com> | 2013-01-25 09:20:14 +0100 |
commit | 5d3c28b5a42df5ceaa854901ba2cccb76883c77e (patch) | |
tree | ae1e50d90d5ce1e5925dd552971224f775b574f3 /drivers/usb/phy/Makefile | |
parent | usb: otg: utils: add facilities in phy lib to support multiple PHYs of same type (diff) | |
download | linux-5d3c28b5a42df5ceaa854901ba2cccb76883c77e.tar.xz linux-5d3c28b5a42df5ceaa854901ba2cccb76883c77e.zip |
usb: otg: add device tree support to otg library
Added an API devm_usb_get_phy_by_phandle(), to get usb phy by passing a
device node phandle value. This function will return a pointer to
the phy on success, -EPROBE_DEFER if there is a device_node for the phandle,
but the phy has not been added, or a ERR_PTR() otherwise.
Cc: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Kishon Vijay Abraham I <kishon@ti.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
Diffstat (limited to 'drivers/usb/phy/Makefile')
0 files changed, 0 insertions, 0 deletions