xhci: pass port pointer as parameter to xhci_set_port_power()
authorMathias Nyman <mathias.nyman@linux.intel.com>
Thu, 2 Feb 2023 15:05:00 +0000 (17:05 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 2 Feb 2023 15:44:41 +0000 (16:44 +0100)
commita66095a957ce3ce2a5154f7981845942f26e477d
treea6df7a691b02e22ed57bac41783fd12bcf744c6e
parentfaaae0190dcd1e230616c85bbc3b339f27ba5b81
xhci: pass port pointer as parameter to xhci_set_port_power()

Pass the port structure pointer directly to xhci_set_port_power()
instead of hcd and port index.

cleanup

Signed-off-by: Mathias Nyman <mathias.nyman@linux.intel.com>
Link: https://lore.kernel.org/r/20230202150505.618915-7-mathias.nyman@linux.intel.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-hub.c