pinctrl: xway: Use devm_kasprintf() instead of fixed buffer formatting
authorGeert Uytterhoeven <geert+renesas@glider.be>
Wed, 31 Jul 2019 13:29:17 +0000 (15:29 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 5 Aug 2019 11:31:17 +0000 (13:31 +0200)
commitd55b7fdd58ac12e76ef65979af4a13b9c15fc00d
tree8f05534bc9fd51cccd6f569b1dc07d17228297cc
parent811604d01e1a98a5cfdebde211f20368d151fcd4
pinctrl: xway: Use devm_kasprintf() instead of fixed buffer formatting

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

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