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

Simon Glass sjg at chromium.org
Tue Jul 7 20:33:58 CEST 2015


On 28 June 2015 at 21:44, Simon Glass <sjg at chromium.org> wrote:
> On 17 June 2015 at 13:33, Hans de Goede <hdegoede at redhat.com> wrote:
>> The device-model usb_legacy_port_reset function cApplied to u-boot-dm, thanks!
alls 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 at 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 at chromium.org>

Applied to u-boot-dm/next, thanks!


More information about the U-Boot mailing list