gpio: brcmstb: Return proper error if bank width is invalid
authorAxel Lin <axel.lin@ingics.com>
Sun, 10 Apr 2016 10:15:15 +0000 (18:15 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Fri, 15 Apr 2016 08:09:48 +0000 (10:09 +0200)
commit35b3fc8876ef927885f68e481efc049285d07e53
tree678986c840ba2c20a142adc1ff83f7c012576c0f
parentc31a571d4360a7765613615709627e83059ce946
gpio: brcmstb: Return proper error if bank width is invalid

Return proper error in brcmstb_gpio_probe if bank width is invalid.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Gregory Fong <gregory.0xf0@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-brcmstb.c