[U-Boot] [PATCH 02/22] usb: Drop device-model specific copy of usb_legacy_port_reset

Simon Glass
2015-06-29T03:44:51Z

On 17 June 2015 at 13:33, Hans de Goede <hdegoede@redhat.com> wrote:
> The device-model usb_legacy_port_reset function calls the device-model
> usb_port_reset function which is a 1 on 1 copy of the non dm
> usb_legacy_port_reset and this is the only use of usb_port_reset in all
> of u-boot.
>
> Drop both, and alway use the usb_legacy_port_reset() version in
> common/usb.c .
>
> Also while at it make it static as it is only used in common/usb.c .
>
> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
> ---
> common/usb.c | 4 +---
> drivers/usb/host/usb-uclass.c | 29 -----------------------------
> include/usb.h | 8 --------
> 3 files changed, 1 insertion(+), 40 deletions(-)

Acked-by: Simon Glass <sjg@chromium.org>