Re: [PATCH] soc: tegra: Use str_enable_disable-like helpers
From: Thierry Reding
Date: Thu Mar 06 2025 - 13:19:03 EST
From: Thierry Reding <treding@xxxxxxxxxx>
On Tue, 14 Jan 2025 21:36:38 +0100, Krzysztof Kozlowski wrote:
> 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.
>
> [...]
Applied, thanks!
[1/1] soc: tegra: Use str_enable_disable-like helpers
commit: 5e63dfe213d01cdf0bb2786ae3d5ac613182a433
Best regards,
--
Thierry Reding <treding@xxxxxxxxxx>