usb: phy: r-car gen2: use usb_add_phy_dev
authorValentine Barshak <valentine.barshak@cogentembedded.com>
Mon, 9 Dec 2013 19:40:33 +0000 (23:40 +0400)
committerFelipe Balbi <balbi@ti.com>
Mon, 9 Dec 2013 20:59:53 +0000 (14:59 -0600)
commitc3e5d2985ef720cbbdc63546a5c545ac4450d96e
tree4e222c444461fc50b8b57acaeadf4b5633332acc
parentc6d7641470fed467777a886c64329fff8f5abf0b
usb: phy: r-car gen2: use usb_add_phy_dev

Use usb_add_phy_dev instead of usb_add_phy, so that devices can
be bound to the phy. This is needed to set up USB phy for
some internal PCI USB host controllers on R-Car Gen2.

Signed-off-by: Valentine Barshak <valentine.barshak@cogentembedded.com>
Signed-off-by: Felipe Balbi <balbi@ti.com>
drivers/usb/phy/phy-rcar-gen2-usb.c