diff options
author | Geert Uytterhoeven <geert+renesas@glider.be> | 2019-07-31 15:29:16 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2019-08-05 13:30:15 +0200 |
commit | 811604d01e1a98a5cfdebde211f20368d151fcd4 (patch) | |
tree | 9988fc5e722c47a3f23a6a3df43547bc64e7201c /drivers/pinctrl/pinctrl-xway.c | |
parent | pinctrl: devicetree: Use strlen() instead of hardcoded number (diff) | |
download | linux-811604d01e1a98a5cfdebde211f20368d151fcd4.tar.xz linux-811604d01e1a98a5cfdebde211f20368d151fcd4.zip |
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>
Diffstat (limited to 'drivers/pinctrl/pinctrl-xway.c')
0 files changed, 0 insertions, 0 deletions