remoteproc: keystone: Use devm_kasprintf() to build name string
authorAndrew Davis <afd@ti.com>
Fri, 2 Aug 2024 18:22:54 +0000 (13:22 -0500)
committerMathieu Poirier <mathieu.poirier@linaro.org>
Tue, 13 Aug 2024 15:37:40 +0000 (09:37 -0600)
commitd32e71660056455ff0af73e10d239d4043d9c1a5
tree5fb1c6c6ed46921833fb7f768b9ce221464f216a
parent74de9654abf7cd0ab46d2393889f3f28b6384db8
remoteproc: keystone: Use devm_kasprintf() to build name string

This is simpler and removes the need to assume the id length to be 1
digit, which then removes a W=1 compile warning about the same.

Signed-off-by: Andrew Davis <afd@ti.com>
Link: https://lore.kernel.org/r/20240802182300.244055-1-afd@ti.com
Signed-off-by: Mathieu Poirier <mathieu.poirier@linaro.org>
drivers/remoteproc/keystone_remoteproc.c