summaryrefslogtreecommitdiff
path: root/scripts/extract-fwblobs
diff options
context:
space:
mode:
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>2025-01-14 11:56:41 +0100
committerLuiz Augusto von Dentz <luiz.von.dentz@intel.com>2025-01-15 10:36:11 -0500
commitacdbea5e71fe955c3cdf70af7e0e43795d230947 (patch)
tree275ad3a5b2992bea604decc1be5847d4183a5425 /scripts/extract-fwblobs
parenta7208610761ae9b3bc109ddc493eb7c332fca5b2 (diff)
Bluetooth: 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> Signed-off-by: Luiz Augusto von Dentz <luiz.von.dentz@intel.com>
Diffstat (limited to 'scripts/extract-fwblobs')
0 files changed, 0 insertions, 0 deletions