OSDN Git Service

USB: phy: drop legacy board-file support
authorJohan Hovold <johan@kernel.org>
Wed, 18 Apr 2018 09:26:24 +0000 (11:26 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sun, 22 Apr 2018 13:58:24 +0000 (15:58 +0200)
commitc3c0ac70c77d34c03e9600170932b2c28478795f
tree55d98cc52642e1f05b88979eb06a8fad1c769ea4
parentd8351953fbb6ed6d7834ac57d9d943d2177c2b20
USB: phy: drop legacy board-file support

The legacy interface for associating controllers with phys from board
files and platform code has been unused since commit 9080b8dc761a ("ARM:
OMAP2+: Remove legacy usb-host.c platform init code"). Since then, all
calls to usb_get_phy_dev() and its devres version have been returning
-ENODEV.

Now that the final calls to these functions have been removed, we can
drop this legacy lookup interface altogether.

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