[U-Boot] [PATCH 04/16] usb: hub: Use 'struct usb_hub_device' as hub device's uclass_priv
Simon Glass
sjg at chromium.org
Thu Jul 6 04:49:40 UTC 2017
On 23 June 2017 at 03:54, Bin Meng <bmeng.cn at gmail.com> wrote:
> Use USB hub device's dev->uclass_priv to point to 'usb_hub_device'
> so that with driver model usb_hub_reset() and usb_hub_allocate()
> are no longer needed.
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
> common/usb_hub.c | 10 +++++++++-
> drivers/usb/host/usb-uclass.c | 2 --
> 2 files changed, 9 insertions(+), 3 deletions(-)
Reviewed-by: Simon Glass <sjg at chromium.org>
More information about the U-Boot
mailing list