]> git.baikalelectronics.ru Git - kernel.git/commit
thunderbolt: Move usb4_switch_wait_for_bit() to switch.c
authorGil Fine <gil.fine@intel.com>
Fri, 17 Dec 2021 01:16:40 +0000 (03:16 +0200)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Wed, 22 Dec 2021 14:13:14 +0000 (17:13 +0300)
commit26297deff6ae0c941d2ac79bdfefd868cd6915d3
tree94bc2074dcfc1a908275ac9322a69f49cb833267
parenteb8a3d7104a94d1828630e730c61d72de40edbf9
thunderbolt: Move usb4_switch_wait_for_bit() to switch.c

Currently usb4_switch_wait_for_bit() used only in usb4.c Moving to
switch.c to call it from other files. Also change the prefix to "tb_"
to follow to the naming convention.

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