pinctrl: at91: simplify probe error handling
authorBaruch Siach <baruch@tkos.co.il>
Mon, 2 Mar 2015 17:28:45 +0000 (19:28 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 9 Mar 2015 17:11:00 +0000 (18:11 +0100)
commit11131ba435252cae6099c04417bcf83997ec3241
tree95a2819a960641605f79751c8c477daaef40a518
parent939417bd8b909ae34a3b2106531594f5115eaea5
pinctrl: at91: simplify probe error handling

There is no code ender the 'err' label. Just return the error code directly.

Signed-off-by: Baruch Siach <baruch@tkos.co.il>
Reviewed-by: Alexandre Belloni <alexandre.belloni@free-electrons.com>
Acked-by: Ludovic Desroches <ludovic.desroches@atmel.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91.c