usb: gadget: composite: Use SSP sublink speed macros
authorThinh Nguyen <Thinh.Nguyen@synopsys.com>
Thu, 14 Jan 2021 02:52:54 +0000 (18:52 -0800)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 18 Jan 2021 17:39:53 +0000 (18:39 +0100)
commit121fc3ac2f02a2316c6451f1ee9d8ef5932441d2
treefb2dc0f5a4e0302b01a291d5100188fb9834b93f
parentf2fc9ff28d1c9bef7760516feadd38164044caae
usb: gadget: composite: Use SSP sublink speed macros

Use SuperSpeed Plus sublink speed macros to fill the BOS descriptor
sublink speed attributes in the composite driver. They're
self-documented so we can remove some of the comments, and this helps
with readability by removing the magic numbers.

Signed-off-by: Thinh Nguyen <Thinh.Nguyen@synopsys.com>
Link: https://lore.kernel.org/r/6f74d446aa164f66fbe4161e28547e28851f6a02.1610592135.git.Thinh.Nguyen@synopsys.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/gadget/composite.c