summaryrefslogtreecommitdiffstats
path: root/mm/maccess.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2015-01-21 09:50:06 +0800
committerLinus Walleij <linus.walleij@linaro.org>2015-01-29 10:33:15 +0100
commit74b18de94cfb7b7a12b581015e8e317d4fa5d752 (patch)
tree1c304e5e3c5412d2794052fa3e9a67ee7a338574 /mm/maccess.c
parentef3b2bd6f3c797d6672cf2739565752019458824 (diff)
downloadblackbird-op-linux-74b18de94cfb7b7a12b581015e8e317d4fa5d752.tar.gz
blackbird-op-linux-74b18de94cfb7b7a12b581015e8e317d4fa5d752.zip
gpio: ge: Convert to use devm_kstrdup
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>
Diffstat (limited to 'mm/maccess.c')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud