xhci: cleanup code that sets portstatus and portchange bits
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 7 Dec 2018 14:19:34 +0000 (16:19 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Dec 2018 14:40:41 +0000 (15:40 +0100)
commit3c2ddb449a91df849b65be7509a575930c7eb5eb
treeaf2034705a0d6d2c412c8e8b6127f25bd57e3b05
parent70e9b53dfedced674d054166aae6e0366489eb86
xhci: cleanup code that sets portstatus and portchange bits

Group the code where the wPortstatus and wPortChange bits
are set into one place.

No functional changes

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