mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-11-10 20:48:12 +00:00
pwm: Simplify printf to emit chip->npwm in $debugfs/pwm
[ Upstream commit3cf8e55894] 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> Stable-dep-of:5f7ff902e7("pwm: Use %u to printf unsigned int pwm_chip::npwm and pwm_chip::id") Signed-off-by: Sasha Levin <sashal@kernel.org>
This commit is contained in:
parent
13dcd6308c
commit
a2fb63bc25
1 changed files with 2 additions and 3 deletions
Loading…
Add table
Add a link
Reference in a new issue