pinctrl/nomadik: use devm_* allocators for gpio probe
authorLinus Walleij <linus.walleij@stericsson.com>
Tue, 3 Jul 2012 21:05:14 +0000 (23:05 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 4 Jul 2012 09:05:05 +0000 (11:05 +0200)
commit5e754f330d189d9082017525668220e458757e5b
treed572b9fa23b0b45085febe0909c2f72618a64ee2
parentfcd217edc056e505e9ab4d0ca602069acc0e1ff4
pinctrl/nomadik: use devm_* allocators for gpio probe

The GPIO portions of the Nomadik pinctrl driver was not using
the managed devm_* interfaces, lets' use them consequently and
cut down the error path and special case handling.

Acked-by: Patrice Chotard <patrice.chotard@stericsson.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-nomadik.c