]> www.infradead.org Git - users/jedix/linux-maple.git/commit
USB: Replace own str_plural with common one
authorKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Tue, 14 Jan 2025 20:05:34 +0000 (21:05 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 15 Jan 2025 17:28:12 +0000 (18:28 +0100)
commitbd693544854b025765514e8948469c618000993a
treea2e13c33f99245c1ee5e6b3659813f3789ee7c50
parent47a836da9ca91ab95b3cf1b2218db60bd67d4514
USB: Replace own str_plural with common one

Use existing str_plural() helper from string_choices.h to reduce amount
of duplicated code.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20250114-str-enable-disable-usb-v1-1-c8405df47c19@linaro.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/usb/core/config.c
drivers/usb/core/generic.c