usb: phy: mxs-phy: register phy with framework
authorSascha Hauer <s.hauer@pengutronix.de>
Wed, 27 Feb 2013 14:16:30 +0000 (15:16 +0100)
committerFelipe Balbi <balbi@ti.com>
Mon, 18 Mar 2013 09:17:59 +0000 (11:17 +0200)
commit25df6397a6c063811154868b868e8bd10e5ae9b1
tree87d19ecb39c1074f096bca4fbd416291872d49b1
parentcedf8602373a3a5d02e49af7bebc401ffe3b38f3
usb: phy: mxs-phy: register phy with framework

We now have usb_add_phy_dev(), so use it to register with the framework
to be able to find the phy from the USB driver.

Tested-by: Steffen Trumtrar <s.trumtrar@pengutronix.de>
Reviewed-by: Kishon Vijay Abraham I <kishon@ti.com>
Reviewed-by: Peter Chen <peter.chen@freescale.com>
Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
Signed-off-by: Marc Kleine-Budde <mkl@pengutronix.de>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/otg/mxs-phy.c