]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
mmc: Convert ternary operator to str_true_false() helper
authorLi Dong <lidong@vivo.com>
Fri, 20 Jun 2025 04:35:17 +0000 (12:35 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Thu, 3 Jul 2025 10:35:17 +0000 (12:35 +0200)
commit31c2e10cecc48a90da09670893d91ecf6b6a8917
tree86ce1f98c51cd4647f39c8a9f3c3531956f06f58
parentb93d8b1cab299bc76f574f9e3cb8aafcfafc0037
mmc: Convert ternary operator to str_true_false() helper

Replace direct ternary condition check with existing helper function
str_true_false() to improve code readability and maintain consistency.

Signed-off-by: Li Dong <lidong@vivo.com>
Link: https://lore.kernel.org/r/20250620043517.172705-1-lidong@vivo.com
Signed-off-by: Ulf Hansson <ulf.hansson@linaro.org>
drivers/mmc/host/atmel-mci.c