aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/usb/chipidea/debug.c
diff options
context:
space:
mode:
authorChunfeng Yun <[email protected]>2021-05-25 08:53:05 +0000
committerGreg Kroah-Hartman <[email protected]>2021-05-27 07:17:18 +0000
commit73e33008e865e5a7b79282331c2d6e920d5d47f8 (patch)
treec87cb860d513d1daf9143439ee66322dd21bd2fb /drivers/usb/chipidea/debug.c
parentusb: typec: tcpci: Make symbol 'tcpci_apply_rc' static (diff)
downloadkernel-73e33008e865e5a7b79282331c2d6e920d5d47f8.tar.gz
kernel-73e33008e865e5a7b79282331c2d6e920d5d47f8.zip
usb: roles: add helper usb_role_string()
Introduces usb_role_string() function, which returns a human-readable name of provided usb role, it's useful to make the log readable. Reviewed-by: Heikki Krogerus <[email protected]> Signed-off-by: Chunfeng Yun <[email protected]> Link: https://lore.kernel.org/r/[email protected] Signed-off-by: Greg Kroah-Hartman <[email protected]>
Diffstat (limited to 'drivers/usb/chipidea/debug.c')
0 files changed, 0 insertions, 0 deletions