[U-Boot] [PATCH 04/22] usb: Pass device instead of portnr to usb_legacy_port_reset

Simon Glass
2015-06-30T14:58:47Z

Hi Hans,

On 30 June 2015 at 06:31, Hans de Goede <hdegoede@redhat.com> wrote:
> Hi,
>
>
> On 29-06-15 05:44, Simon Glass wrote:
>>
>> Hi Hans,
>>
>> On 17 June 2015 at 13:33, Hans de Goede <hdegoede@redhat.com> wrote:
>>>
>>> Pass the usb_device instead of the portnr to usb_legacy_port_reset and
>>> rename it to usb_hub_port_reset as there is nothing legacy about it.
>>>
>>> Signed-off-by: Hans de Goede <hdegoede@redhat.com>
>>> ---
>>> common/usb.c | 8 ++++----
>>> 1 file changed, 4 insertions(+), 4 deletions(-)
>>
>>
>> Legacy as in not driver model.
>
>
> Except that it gets used in both device-model and non device model
> builds of the usb-stack.

Yes, and the non-driver-model stuff can presumably be considered
'legacy' at this point?

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

>
> Regards,
>
> Hans
>
> p.s.
>
> Thanks for reviewing this largish series!

You're welcome. It's a lot easier than writing it :-)

Regards,
Simon