mirror-linux/drivers/pinctrl/samsung
Krzysztof Kozlowski 3f36bffab9 pinctrl: 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: Florian Fainelli <florian.fainelli@broadcom.com>
Reviewed-by: Antonio Borneo <antonio.borneo@foss.st.com>
Reviewed-by: Charles Keepax <ckeepax@opensource.cirrus.com>
Link: https://lore.kernel.org/20250114203602.1013275-1-krzysztof.kozlowski@linaro.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
2025-01-15 12:52:26 +01:00
..
Kconfig pinctrl: remove s3c24xx driver 2023-01-16 09:26:06 +01:00
Makefile pinctrl: remove s3c24xx driver 2023-01-16 09:26:06 +01:00
pinctrl-exynos-arm.c pinctrl: samsung: Add support for pull-up and pull-down 2024-08-08 17:22:04 +02:00
pinctrl-exynos-arm64.c pinctrl: samsung: Add Exynos9810 SoC specific data 2024-10-27 21:02:08 +01:00
pinctrl-exynos.c pinctrl: Use str_enable_disable-like helpers 2025-01-15 12:52:26 +01:00
pinctrl-exynos.h pinctrl: samsung: Add exynos8895 SoC pinctrl configuration 2024-10-02 09:47:45 +02:00
pinctrl-s3c64xx.c pinctrl: samsung: Add support for pull-up and pull-down 2024-08-08 17:22:04 +02:00
pinctrl-samsung.c pinctrl: samsung: update child reference drop comment 2024-12-02 15:11:54 +01:00
pinctrl-samsung.h pinctrl: samsung: Add Exynos9810 SoC specific data 2024-10-27 21:02:08 +01:00