xhci: change xhci_set_link_state() to work with port structures
authorMathias Nyman <mathias.nyman@linux.intel.com>
Mon, 21 May 2018 13:39:59 +0000 (16:39 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 24 May 2018 16:03:08 +0000 (18:03 +0200)
commit6b7f40f712344ec8fdca10450834825094e797fb
treeddc0d11505362bd5ed9461d3d56357c008b58d3d
parent74e6ad583aa34a8de3ab3bc209256c3b53a1af4b
xhci: change xhci_set_link_state() to work with port structures

Remove old iomem port array and index as parameters, just
send a ponter to a port strucure instread

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-ring.c
drivers/usb/host/xhci.h