commit | 925f349d4dca1357813efdc37ec08134d79b3288 | [log] [tgz] |
---|---|---|
author | Mathias Nyman <mathias.nyman@linux.intel.com> | Mon May 21 16:40:02 2018 +0300 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Thu May 24 18:03:08 2018 +0200 |
tree | 6bb4cb61851bb39ec128dbbcf30b831affb2d9d4 | |
parent | 38986ffa6a74899be83126d55f043a1c034cba7d [diff] |
xhci: xhci-hub: use port structure members instead of xhci_get_ports() xhci_get_ports() is one of the last functions using port_arrays in xhci-hub.c. We get the same data directly from hub and port structures instead, so convert and remove both xhci_get_ports() and port_arrays from all function that no longer need it. Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>