thunderbolt: Use weight constants in tb_usb3_consumed_bandwidth()
authorMika Westerberg <mika.westerberg@linux.intel.com>
Mon, 31 Jul 2023 02:25:38 +0000 (05:25 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 20 Oct 2023 15:18:00 +0000 (18:18 +0300)
commit4d24db0c801461adeefd7e0bdc98c79c60ccefb0
treef93a0c8c744df53e5ecf0e0358bd731ab4aac322
parentf73edddfa2a64a185c65a33f100778169c92fc25
thunderbolt: Use weight constants in tb_usb3_consumed_bandwidth()

Instead of magic numbers use the constants we introduced in the previous
commit to make the code more readable. No functional changes.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/tunnel.c