linux-kernelorg-stable/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
Makefile
arpc.h
bundle.c
connection.c
control.c
core.c
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
hd.c
interface.c greybus: Fix a typo 2024-11-05 05:33:46 +01:00
manifest.c
module.c
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