USB: host: xhci: use max-port define
authorJohan Hovold <johan@kernel.org>
Wed, 10 May 2017 16:18:30 +0000 (18:18 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 17 May 2017 09:53:02 +0000 (11:53 +0200)
commit5120a266928a07231d198bb518f6fe73148786a3
treeea6b1a0a99153150505ee7ab3dad045f39960ca9
parent93491ced3c87c94b12220dbac0527e1356702179
USB: host: xhci: use max-port define

Use the new define for the maximum number of SuperSpeed ports instead of
a constant when allocating xHCI root hubs.

Signed-off-by: Johan Hovold <johan@kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/host/xhci-mem.c