[U-Boot] [PATCH 06/16] usb: xhci: Change to use usb_hub_is_root_hub() API

Simon Glass sjg at chromium.org
Thu Jul 6 04:49:45 UTC 2017


On 23 June 2017 at 03:54, Bin Meng <bmeng.cn at gmail.com> wrote:
> Now that we have a generic public API, remove the xHCI driver's own
> version is_root_hub() and use the new API.
>
> While we are here, remove the unused/commented out get_usb_device().
>
> Signed-off-by: Bin Meng <bmeng.cn at gmail.com>
> ---
>
>  drivers/usb/host/xhci.c | 24 ++----------------------
>  1 file changed, 2 insertions(+), 22 deletions(-)

Reviewed-by: Simon Glass <sjg at chromium.org>


More information about the U-Boot mailing list