linux/drivers/usb/cdns3
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
..
Kconfig
Makefile
cdns3-debug.h
cdns3-ep0.c
cdns3-gadget.c
cdns3-gadget.h
cdns3-imx.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
cdns3-pci-wrap.c usb: cdns3: Synchronise PCI IDs via common data base 2024-11-13 07:16:31 +01:00
cdns3-plat.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
cdns3-starfive.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
cdns3-ti.c usb: Switch back to struct platform_driver::remove() 2024-10-04 15:13:03 +02:00
cdns3-trace.c
cdns3-trace.h
cdnsp-debug.h
cdnsp-ep0.c
cdnsp-gadget.c USB: Use str_enable_disable-like helpers 2025-01-15 18:28:13 +01:00
cdnsp-gadget.h usb: cdnsp: fix for Link TRB with TC 2024-08-24 10:07:46 +08:00
cdnsp-mem.c
cdnsp-pci.c usb: cdns3: Synchronise PCI IDs via common data base 2024-11-13 07:16:31 +01:00
cdnsp-ring.c usb: cdnsp: Fix incorrect usb_request status 2024-09-11 15:35:23 +02:00
cdnsp-trace.c
cdnsp-trace.h
core.c usb: cdns3: remove redundant if branch 2025-01-03 11:13:52 +01:00
core.h
drd.c
drd.h
gadget-export.h
host-export.h
host.c usb: xhci: fix loss of data on Cadence xHC 2024-09-11 15:38:25 +02:00