thunderbolt: Move CLx support functions into clx.c
authorMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 7 Oct 2022 15:12:02 +0000 (18:12 +0300)
committerMika Westerberg <mika.westerberg@linux.intel.com>
Fri, 9 Jun 2023 09:07:23 +0000 (12:07 +0300)
commit12a14f2fca32332d065b64f6f654fa332c90475e
treebe65f248340f6a6fbfcc7097a5b22cf30c1238a6
parentef34add89ee4d1473bd0e78f551efa6fc1feb0cd
thunderbolt: Move CLx support functions into clx.c

There really don't belong to switch.c so move them into their own file.
As we do this rename the functions to match the conventions used
elsewhere in the driver.

No functional changes.

Signed-off-by: Mika Westerberg <mika.westerberg@linux.intel.com>
drivers/thunderbolt/Makefile
drivers/thunderbolt/clx.c [new file with mode: 0644]
drivers/thunderbolt/debugfs.c
drivers/thunderbolt/switch.c
drivers/thunderbolt/tb.c
drivers/thunderbolt/tb.h
drivers/thunderbolt/tmu.c