summaryrefslogtreecommitdiff
path: root/lib/bch.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2013-05-19 06:00:47 (GMT)
committerLinus Walleij <linus.walleij@linaro.org>2013-05-20 18:27:30 (GMT)
commitcfb10898efe1bc1f3eb8d8f37f164d9e2ac8b43a (patch)
tree4633a990efc5bcd9090bb594acc4a9923a0194cc /lib/bch.c
parent90dae4ebf03063a70d992aad00d5f5a607c31db8 (diff)
downloadlinux-fsl-qoriq-cfb10898efe1bc1f3eb8d8f37f164d9e2ac8b43a.tar.xz
gpio: Don't override the error code in probe error handling
Otherwise, we return 0 in probe error paths when gpiochip_remove() returns 0. Also show error message if gpiochip_remove() fails. Signed-off-by: Axel Lin <axel.lin@ingics.com> Cc: Tomoya MORINAGA <tomoya.rohm@gmail.com> Cc: Denis Turischev <denis@compulab.co.il> Cc: Lars Poeschel <poeschel@lemonage.de> Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'lib/bch.c')
0 files changed, 0 insertions, 0 deletions