]> git.sur5r.net Git - u-boot/commit
usb: hub: Remove hub_port_reset()
authorBin Meng <bmeng.cn@gmail.com>
Wed, 19 Jul 2017 13:51:10 +0000 (21:51 +0800)
committerMarek Vasut <marex@denx.de>
Fri, 28 Jul 2017 21:34:30 +0000 (23:34 +0200)
commita199a7244899f6385035459cbc62409bd9bbcc23
treea0082a5a25016dc034d7eaaefa9521c3e70a3564
parentdfa96e06761e223288e59d7a3e1d574f014b5a0d
usb: hub: Remove hub_port_reset()

At present hub_port_reset() is defined in DM USB, but it is never
called hence remove it (removing another ifdefs).

While we are here, change legacy_hub_port_reset() name to
usb_hub_port_reset() to better match other function names in the
same hub module.

Signed-off-by: Bin Meng <bmeng.cn@gmail.com>
Reviewed-by: Simon Glass <sjg@chromium.org>
common/usb_hub.c
include/usb.h