xhci: xhci-hub: use new port structures to get port address instead of port array
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 21 May 2018 13:39:55 +0000 (16:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 May 2018 16:03:08 +0000 (18:03 +0200)
commite740b019d7c6b4de38f57a26d4cf1b15125bdcbf
treee3427a9131742e6f92f3d7a37c5782a6208ad5c9
parentffd4b4fc0b9a1526b64240676d309506b2d5eceb
xhci: xhci-hub: use new port structures to get port address instead of port array

Use the new port structures for functions in xhci-hub.c to get
port mmio address of portsc register instead of the port array

xhci_get_port_io_addr() is no longer needeed and is removed.
Plan is to get rid of the mmio port array completely.

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