diff options
author | Thomas Petazzoni <thomas.petazzoni@free-electrons.com> | 2012-09-13 21:48:14 +0200 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2012-09-14 15:53:13 +0200 |
commit | 23a895aee6081c144ffcc61eaf52dc62e10b3bd1 (patch) | |
tree | 42310daf0adc223c388100bd89ffba084db220f7 /arch/arm/mach-ux500 | |
parent | pinctrl: pinctrl-single: Add pinctrl-single,bits type of mux (diff) | |
download | linux-23a895aee6081c144ffcc61eaf52dc62e10b3bd1.tar.xz linux-23a895aee6081c144ffcc61eaf52dc62e10b3bd1.zip |
pinctrl: use kasprintf() in pinmux_request_gpio()
Instead of using a temporary buffer, snprintf() and kstrdup(), just
use kasprintf() that does the same thing in just oneline.
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@free-electrons.com>
Acked-by: Stephen Warren <swarren@wwwdotorg.org>
Acked-by: Colin Cross <ccross@google.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'arch/arm/mach-ux500')
0 files changed, 0 insertions, 0 deletions