linux/drivers/soundwire
Krzysztof Kozlowski 836c8a2edb soundwire: 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>
Reviewed-by: Bard Liao <yung-chuan.liao@linux.intel.com>
Link: https://lore.kernel.org/r/20250114200726.969501-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Vinod Koul <vkoul@kernel.org>
2025-02-13 21:54:55 +05:30
..
amd_init.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
amd_init.h soundwire: amd: use inline function for register update 2024-03-28 23:39:50 +05:30
amd_manager.c soundwire: amd: add soundwire host wake interrupt enable/disable sequence 2025-02-13 21:51:07 +05:30
amd_manager.h soundwire: amd: add soundwire host wake interrupt enable/disable sequence 2025-02-13 21:51:07 +05:30
bus_type.c soundwire: bus: Move irq mapping cleanup into devres 2024-12-23 11:41:09 +05:30
bus.c soundwire: Use str_enable_disable-like helpers 2025-02-13 21:54:55 +05:30
bus.h soundwire: generic_bandwidth_allocation: add lane in sdw_group_params 2024-12-23 12:00:34 +05:30
cadence_master.c soundwire: cadence_master: set frame shape and divider based on actual clk freq 2025-02-13 21:48:32 +05:30
cadence_master.h soundwire: cadence: add soft-reset on startup 2024-10-10 17:44:41 +05:30
debugfs.c soundwire: Use str_enable_disable-like helpers 2025-02-13 21:54:55 +05:30
dmi-quirks.c ASoC: Intel: common: DMI remap for rebranded Intel NUC M15 (LAPRC710) laptops 2024-02-08 21:23:19 +00:00
generic_bandwidth_allocation.c soundwire: generic_bandwidth_allocation: count the bandwidth of active streams only 2024-12-23 12:00:34 +05:30
intel_ace2x_debugfs.c soundwire: Intel: clarify Copyright information 2024-06-21 15:26:02 +05:30
intel_ace2x.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
intel_auxdevice.c soundwire: Revert "soundwire: intel_auxdevice: start the bus at default frequency" 2025-02-13 21:48:38 +05:30
intel_auxdevice.h soundwire: intel: export intel_resume_child_device 2024-04-11 22:52:51 +05:30
intel_bus_common.c soundwire: cadence: add soft-reset on startup 2024-10-10 17:44:41 +05:30
intel_init.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
intel.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
intel.h soundwire updates for 6.12 2024-09-23 14:00:46 -07:00
irq.c soundwire: bus: Move irq mapping cleanup into devres 2024-12-23 11:41:09 +05:30
irq.h soundwire: bus: Move irq mapping cleanup into devres 2024-12-23 11:41:09 +05:30
Kconfig soundwire: slave: lookup SDCA version and functions 2024-10-17 18:42:12 +01:00
Makefile soundwire: amd: refactor amd soundwire manager device node creation 2024-01-30 16:06:34 +00:00
master.c soundwire: constify the struct device_type usage 2024-03-03 19:28:06 +05:30
mipi_disco.c soundwire: mipi_disco: read lane mapping properties from ACPI 2024-12-23 12:00:33 +05:30
qcom.c soundwire updates for 6.14 2025-01-29 14:38:19 -08:00
slave.c module: Convert symbol namespace to string literal 2024-12-02 11:34:44 -08:00
stream.c soundwire: Use str_enable_disable-like helpers 2025-02-13 21:54:55 +05:30
sysfs_local.h soundwire: sysfs: remove sdw_slave_sysfs_init() 2024-03-28 23:38:47 +05:30
sysfs_slave_dpn.c soundwire: sysfs: remove sdw_slave_sysfs_init() 2024-03-28 23:38:47 +05:30
sysfs_slave.c soundwire: Correct some typos in comments 2024-10-03 12:46:23 +05:30