]> git.baikalelectronics.ru Git - uboot.git/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)
commitd18bf5721463e824917e450b1db7a34988bdb6c2
treea0082a5a25016dc034d7eaaefa9521c3e70a3564
parent88be1273494c6634768151a1971f0db1ac5b5b66
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