pinctrl/pinctrl-core: cleanup pinctrl_register
authorDevendra Naga <devendra.aaru@gmail.com>
Sat, 16 Jun 2012 18:13:16 +0000 (23:43 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Tue, 3 Jul 2012 19:51:07 +0000 (21:51 +0200)
commitda9aecb02d8763ef17130dfd7c678747ad84b070
treee286ce230caabbbb09cfcac6669b87cdca899cb9
parent7e1dfe5319de9ab8c73f3934da4debd0fd88c71c
pinctrl/pinctrl-core: cleanup pinctrl_register

lots of places the ret is used just for non zero cases
with out that also we can check the status of the function
calls.

Signed-off-by: Devendra Naga <devendra.aaru@gmail.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/core.c