xhci: Add helper to get xhci roothub from hcd
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 21 May 2018 13:39:54 +0000 (16:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 May 2018 16:03:08 +0000 (18:03 +0200)
commitffd4b4fc0b9a1526b64240676d309506b2d5eceb
tree37284cf5942cdcd852116aaef3d6da97bad299d4
parent9ea95ecc7ffd338a62972ddd6b0ac46bdc5e7d49
xhci: Add helper to get xhci roothub from hcd

quick way to get the xhci roothub and thus all the ports
belonging to a certain hcd

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-hub.c
drivers/usb/host/xhci.h