USB: renesas_usbhs: drop unused legacy-phy support

Drop support for legacy phys for rcar2 which hasn't been used with a
mainline kernel since commit 9080b8dc76 ("ARM: OMAP2+: Remove legacy
usb-host.c platform init code"). Specifically, since that commit
usb_get_phy_dev() have always returned -ENODEV and consequently this
code has not been used.

Note that the legacy-phy API is still being used in gadget mode to bind
the peripheral controller.

Acked-by: Yoshihiro Shimoda <yoshihiro.shimoda.uh@renesas.com>
Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
此提交包含在:
Johan Hovold
2018-04-18 11:26:23 +02:00
提交者 Greg Kroah-Hartman
父節點 5ee1787e5e
當前提交 d8351953fb
共有 2 個檔案被更改,包括 0 行新增30 行删除

查看文件

@@ -276,7 +276,6 @@ struct usbhs_priv {
*/
struct usbhs_fifo_info fifo_info;
struct usb_phy *usb_phy;
struct phy *phy;
};