]> git.karo-electronics.de Git - karo-tx-linux.git/commit
xhci: use trb helper functions when possible
authorMathias Nyman <mathias.nyman@linux.intel.com>
Fri, 11 Nov 2016 13:13:13 +0000 (15:13 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 14 Nov 2016 09:18:21 +0000 (10:18 +0100)
commit3495e451d1375f74bd6f9ee851c740e2c96118ae
tree73c7f24951671b11798cfaaf4cfeb7c6de130557
parentc11ae038d62bf07231be7b813435e5067c978ddc
xhci: use trb helper functions when possible

Use the trb_is_link() and link_trb_toggles_cycle() helpers to
make the code more readable

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-ring.c