git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
ef3b2bd
)
gpio: ge: Convert to use devm_kstrdup
author
Axel Lin
<axel.lin@ingics.com>
Wed, 21 Jan 2015 01:50:06 +0000
(09:50 +0800)
committer
Linus Walleij
<linus.walleij@linaro.org>
Thu, 29 Jan 2015 09:33:15 +0000
(10:33 +0100)
Use devm_kstrdup to simplify the error handling path.
Also return -ENOMEM instead of 0 if devm_kstrdup fails.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
No differences found