From mboxrd@z Thu Jan 1 00:00:00 1970 From: Hans de Goede Date: Tue, 30 Jun 2015 14:31:53 +0200 Subject: [U-Boot] [PATCH 04/22] usb: Pass device instead of portnr to usb_legacy_port_reset In-Reply-To: References: <1434569645-30322-1-git-send-email-hdegoede@redhat.com> <1434569645-30322-5-git-send-email-hdegoede@redhat.com> Message-ID: <55928C39.80206@redhat.com> List-Id: MIME-Version: 1.0 Content-Type: text/plain; charset="us-ascii" Content-Transfer-Encoding: 7bit To: u-boot@lists.denx.de Hi, On 29-06-15 05:44, Simon Glass wrote: > Hi Hans, > > On 17 June 2015 at 13:33, Hans de Goede 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 >> --- >> 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. Regards, Hans p.s. Thanks for reviewing this largish series!