]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: renesas_usbhs: drop unused legacy-phy support
authorJohan Hovold <johan@kernel.org>
Wed, 18 Apr 2018 09:26:23 +0000 (11:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2018 13:58:24 +0000 (15:58 +0200)
commitd8351953fbb6ed6d7834ac57d9d943d2177c2b20
tree04fb406711c2988b2e66c2ae79badebaea470e90
parent5ee1787e5efb9bbc11403740df4393587c47ab65
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 9080b8dc761a ("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>
drivers/usb/renesas_usbhs/common.h
drivers/usb/renesas_usbhs/rcar2.c