]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
zorro: Use str_plural() in amiga_zorro_probe()
authorJiapeng Chong <jiapeng.chong@linux.alibaba.com>
Tue, 18 Jun 2024 07:32:05 +0000 (15:32 +0800)
committerGeert Uytterhoeven <geert@linux-m68k.org>
Mon, 24 Jun 2024 10:16:33 +0000 (12:16 +0200)
commit156872f08e33af7a23c1e4827f6127d7861b23fd
treea527b9bf8bbdb9138170aee34930dd295e4fccd4
parented58ae8554ee4a3d81a4db386d2150885109e63c
zorro: Use str_plural() in amiga_zorro_probe()

Use the existing str_plural() function rather than duplicating its
implementation.

./drivers/zorro/zorro.c:155:22-39: opportunity for str_plural(zorro_num_autocon).

Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Closes: https://bugzilla.openanolis.cn/show_bug.cgi?id=9350
Signed-off-by: Jiapeng Chong <jiapeng.chong@linux.alibaba.com>
Reviewed-by: Geert Uytterhoeven <geert@linux-m68k.org>
Link: https://lore.kernel.org/r/20240618073205.65303-1-jiapeng.chong@linux.alibaba.com
Signed-off-by: Geert Uytterhoeven <geert@linux-m68k.org>
drivers/zorro/zorro.c