linux/drivers/greybus
Nai-Chen Cheng 0e805e8b00 greybus: svc: use string choice helpers instead of ternary operator
Replace ternary operator with str_enabled_disabled() helper to improve
code readability and consistency.

Generated using Coccinelle semantic patch.

Signed-off-by: Nai-Chen Cheng <bleach1827@gmail.com>
Reviewed-by: Alex Elder <elder@riscstar.com>
Link: https://lore.kernel.org/r/20250806-greybus-string-choices-v1-1-3e1c91048b62@gmail.com
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2025-08-19 12:50:31 +02:00
..
Kconfig greybus: gb-beagleplay: Add firmware upload API 2024-09-12 09:04:09 +02:00
Makefile greybus: Add BeaglePlay Linux Driver 2023-10-27 13:19:04 +02:00
arpc.h greybus: Replace zero-length array with flexible-array 2020-05-13 13:59:13 +02:00
bundle.c greybus: constify the struct device_type usage 2024-03-06 14:13:10 +00:00
connection.c greybus: Use alloc_ordered_workqueue() to create ordered workqueues 2023-05-08 13:52:27 -10:00
control.c greybus: constify the struct device_type usage 2024-03-06 14:13:10 +00:00
core.c Driver core changes for 6.11-rc1 2024-07-25 10:42:22 -07:00
debugfs.c
es2.c move asm/unaligned.h to linux/unaligned.h 2024-10-02 17:23:23 -04:00
gb-beagleplay.c greybus: gb-beagleplay: remove unneeded calls to devm_gpiod_put() 2025-07-01 12:29:37 +02:00
greybus_trace.h greybus: remove h from printk format specifier 2021-01-05 15:18:23 +01:00
hd.c greybus: Remove usage of the deprecated ida_simple_xx() API 2024-03-07 21:41:38 +00:00
interface.c greybus: Fix a typo 2024-11-05 05:33:46 +01:00
manifest.c
module.c greybus: constify the struct device_type usage 2024-03-06 14:13:10 +00:00
operation.c treewide, timers: Rename from_timer() to timer_container_of() 2025-06-08 09:07:37 +02:00
svc.c greybus: svc: use string choice helpers instead of ternary operator 2025-08-19 12:50:31 +02:00
svc_watchdog.c