thunderbolt: Move width_name() helper to tb.h
authorGil Fine <gil.fine@linux.intel.com>
Sun, 5 Nov 2023 15:52:19 +0000 (17:52 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Thu, 14 Dec 2023 06:07:44 +0000 (08:07 +0200)
commit30c6759b232bf42297a9ee6c60debf9082005d41
treec8d3a267a768c980e641f7a96dfc2ca54bafe209
parent36b6ad6ad0350554e611a8cb754ccd40857416a8
thunderbolt: Move width_name() helper to tb.h

We are going to use it in subsequent patches, so make it available outside of
switch.c. Also, change the name to tb_width_name() to follow the naming
conventions.

Signed-off-by: Gil Fine <gil.fine@linux.intel.com>
Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.h