]> git.ipfire.org Git - thirdparty/linux.git/commit
i2c: algo: bit: use str_plural helper in bit_xfer
authorThorsten Blum <thorsten.blum@linux.dev>
Mon, 11 May 2026 10:49:13 +0000 (12:49 +0200)
committerAndi Shyti <andi.shyti@kernel.org>
Tue, 16 Jun 2026 21:58:35 +0000 (23:58 +0200)
commitbb0301f856bfc0ea8192b8d2bd5a79bdc6d3d3f1
tree8101a031665aad668b2e972a28a81f9e37b54a92
parente1e5c40a408b09d6e7bd603c51bb5b34868b54e7
i2c: algo: bit: use str_plural helper in bit_xfer

Replace the manual ternary "s" pluralizations with str_plural() to
simplify the code.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Andi Shyti <andi.shyti@kernel.org>
Link: https://lore.kernel.org/r/20260511104911.183606-3-thorsten.blum@linux.dev
drivers/i2c/algos/i2c-algo-bit.c