]> www.infradead.org Git - users/jedix/linux-maple.git/commit
mmc: cb710-mmc: Convert ternary operator to str_plural() helper
authorLi Dong <lidong@vivo.com>
Wed, 18 Jun 2025 11:59:54 +0000 (19:59 +0800)
committerUlf Hansson <ulf.hansson@linaro.org>
Tue, 24 Jun 2025 10:43:26 +0000 (12:43 +0200)
commitd783ce4fe274709b95f184ff7790041e903abd4a
treee758d1806348f33cd1c813ff8402126857989500
parent9939ac6ca0f5d573e3975f7f85a9fd348077719a
mmc: cb710-mmc: Convert ternary operator to str_plural() helper

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

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