diff options
author | Thomas Petazzoni <[email protected]> | 2012-09-13 21:48:14 +0200 |
---|---|---|
committer | Linus Walleij <[email protected]> | 2012-09-14 15:53:13 +0200 |
commit | 23a895aee6081c144ffcc61eaf52dc62e10b3bd1 (patch) | |
tree | 42310daf0adc223c388100bd89ffba084db220f7 /lib/string_helpers.c | |
parent | 9e605cb68a21d5704839a192a46ebcf387773704 (diff) |
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 <[email protected]>
Acked-by: Stephen Warren <[email protected]>
Acked-by: Colin Cross <[email protected]>
Signed-off-by: Linus Walleij <[email protected]>
Diffstat (limited to 'lib/string_helpers.c')
0 files changed, 0 insertions, 0 deletions