]> asedeno.scripts.mit.edu Git - linux.git/commit
USB: core: hcd: drop support for legacy phys
authorJohan Hovold <johan@kernel.org>
Wed, 18 Apr 2018 09:26:20 +0000 (11:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2018 13:58:23 +0000 (15:58 +0200)
commitbc40f53417410be18298c5b5dbf5bcae9588d84f
treeb19e3d6171810d0d354e500dd263fbb137d65e1c
parent60b9f942bc059913bcdac90d5b225f557438b5c5
USB: core: hcd: drop support for legacy phys

Drop support for looking up and initialising legacy phys in USB core,
something which hasn't been used by 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.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/hcd.c
include/linux/usb/hcd.h