]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commite59e26bc59face0e0c8b6e00161723e53ba90e95
tree298521ddf8b28f0dcbd1dd950cd3f85ce0280ec0
parent7c66b07ed6f243dfcbacac754aef729cdf5d76f3
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 (7df1854fcd8d ("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