[U-Boot] [PATCH 03/22] usb: usb_setup_device: Drop unneeded portnr function argument
Simon Glass
sjg at chromium.org
Mon Jun 29 05:44:56 CEST 2015
Hi Hans.
On 17 June 2015 at 13:33, Hans de Goede <hdegoede at redhat.com> wrote:
> Drop the unneeded portnr function argument, the portnr is part of the
> usb_device struct which is passed via the dev argument.
>
> Signed-off-by: Hans de Goede <hdegoede at redhat.com>
> ---
> common/usb.c | 10 +++++-----
> drivers/usb/host/usb-uclass.c | 2 +-
> include/usb.h | 6 +++---
> 3 files changed, 9 insertions(+), 9 deletions(-)
This was needed in the case where a fake usb_device was passed in. Has
your previous refactoring changed that?
Regards,
Simon
More information about the U-Boot
mailing list