pinctrl: lantiq: Use kasprintf() instead of fixed buffer formatting
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 31 Jul 2019 13:29:16 +0000 (15:29 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Aug 2019 11:30:15 +0000 (13:30 +0200)
commit811604d01e1a98a5cfdebde211f20368d151fcd4
tree9988fc5e722c47a3f23a6a3df43547bc64e7201c
parentf0b0e923e07aa3efd3d5db0bd6ff421bd9a9a0d4
pinctrl: lantiq: Use kasprintf() instead of fixed buffer formatting

Improve readability and maintainability by replacing a hardcoded string
allocation and formatting by the use of the kasprintf() helper.

Signed-off-by: Geert Uytterhoeven <geert+renesas@glider.be>
Link: https://lore.kernel.org/r/20190731132917.17607-3-geert+renesas@glider.be
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-falcon.c