diff options
| author | Uwe Kleine-König <u.kleine-koenig@baylibre.com> | 2025-09-26 18:57:03 +0200 |
|---|---|---|
| committer | Uwe Kleine-König <ukleinek@kernel.org> | 2025-11-14 11:56:13 +0100 |
| commit | 3cf8e55894b51c14f8500cae5e68ed48b1b0f3fd (patch) | |
| tree | 39bf35d5a01dfd2e7e2d1a60b40f014ffd3afae8 /rust/helpers/helpers.c | |
| parent | f84fd5bec502447df145f31734793714690ce27f (diff) | |
pwm: Simplify printf to emit chip->npwm in $debugfs/pwm
Instead of caring to correctly pluralize "PWM device(s)" using
(chip->npwm != 1) ? "s" : ""
or
str_plural(chip->npwm)
just simplify the format to not need a plural-s.
Signed-off-by: Uwe Kleine-König <u.kleine-koenig@baylibre.com>
Link: https://patch.msgid.link/20250926165702.321514-2-u.kleine-koenig@baylibre.com
Signed-off-by: Uwe Kleine-König <ukleinek@kernel.org>
Diffstat (limited to 'rust/helpers/helpers.c')
0 files changed, 0 insertions, 0 deletions
