commit | 1fb1f0540deae634d454f917e3d45c27b69521a8 | [log] [tgz] |
---|---|---|
author | Masahiro Yamada <yamada.masahiro@socionext.com> | Wed May 25 20:14:13 2016 +0900 |
committer | Linus Walleij <linus.walleij@linaro.org> | Tue May 31 10:33:00 2016 +0200 |
tree | 626f4315ec6d90a083ce3ab72edfce3ea390aba9 | |
parent | 8b2b3dcb343bf8cb62efc1bd6a9dbe850005e2ac [diff] |
pinctrl: return -ENOMEM instead of -EINVAL for kasprintf() failure -ENOMEM is more suitable error code because kasprintf() fails in case of memory shortage. Signed-off-by: Masahiro Yamada <yamada.masahiro@socionext.com> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>