linux/drivers/usb/musb
Krzysztof Kozlowski f386bfad03 USB: Use str_enable_disable-like helpers
Replace ternary (condition ? "enable" : "disable") syntax with helpers
from string_choices.h because:
1. Simple function call with one argument is easier to read.  Ternary
   operator has three arguments and with wrapping might lead to quite
   long code.
2. Is slightly shorter thus also easier to read.
3. It brings uniformity in the text - same string.
4. Allows deduping by the linker, which results in a smaller binary
   file.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250114-str-enable-disable-usb-v1-6-c8405df47c19@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-01-15 18:28:13 +01:00
..
cppi_dma.h
da8xx.c USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
jz4740.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
Kconfig usb: use "prompt" instead of "bool" for choice prompts 2024-11-04 17:53:09 +09:00
Makefile
mediatek.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
mpfs.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
musb_core.c USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
musb_core.h
musb_cppi41.c
musb_debug.h
musb_debugfs.c
musb_dma.h
musb_dsps.c USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
musb_gadget.c USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
musb_gadget.h
musb_gadget_ep0.c drivers/usb/musb: refactor min/max with min_t/max_t 2024-11-13 15:09:51 +01:00
musb_host.c USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
musb_host.h
musb_io.h
musb_regs.h
musb_trace.c
musb_trace.h tracing/treewide: Remove second parameter of __assign_str() 2024-05-22 20:14:47 -04:00
musb_virthub.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
musbhsdma.c
omap2430.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
omap2430.h
sunxi.c USB / Thunderbolt (USB4) changes for 6.13-rc1 2024-11-29 11:19:31 -08:00
tusb6010.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
tusb6010.h
tusb6010_omap.c
ux500.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
ux500_dma.c