USB: phy: drop unused legacy controller-phy bind helper
authorJohan Hovold <johan@kernel.org>
Wed, 18 Apr 2018 09:26:19 +0000 (11:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2018 13:58:23 +0000 (15:58 +0200)
commit60b9f942bc059913bcdac90d5b225f557438b5c5
tree298521ddf8b28f0dcbd1dd950cd3f85ce0280ec0
parentc95c975898e34437dfe8df483835ec833a66d704
USB: phy: drop unused legacy controller-phy bind helper

Drop the unused legacy usb_bind_phy() helper whose last user was removed
in 2016 when OMAP moved to device-tree boot (9080b8dc761a ("ARM: OMAP2+:
Remove legacy usb-host.c platform init code")).

Note that this means that for the last couple of years the phy_bind_list
has been empty (when using mainline kernels) and that consequently all
phy lookups using the usb_get_phy_dev() interface have failed with
-ENODEV. This helper along with its current users will be removed by
follow-on patches.

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