]> git.ipfire.org Git - thirdparty/kernel/linux.git/commit
drm/tegra: dp: use str_plural in drm_dp_link_train_{full,fast}
authorThorsten Blum <thorsten.blum@linux.dev>
Thu, 21 May 2026 19:46:59 +0000 (21:46 +0200)
committerThierry Reding <treding@nvidia.com>
Thu, 28 May 2026 15:19:27 +0000 (17:19 +0200)
commite6fabde34307c2bbc339c0787c7144a3dbf27f28
tree147e845f971c536680ad2fbf6ea4c4ff3a153100
parent9f7c2ccae957296d732e0bf5aeccfc41cc0bb16d
drm/tegra: dp: use str_plural in drm_dp_link_train_{full,fast}

Replace the manual ternary "s" pluralizations with str_plural() to
simplify the code. This also corrects the "0 lanes" case.

Signed-off-by: Thorsten Blum <thorsten.blum@linux.dev>
Signed-off-by: Thierry Reding <treding@nvidia.com>
Link: https://patch.msgid.link/20260521194658.366737-3-thorsten.blum@linux.dev
drivers/gpu/drm/tegra/dp.c