pinctrl: at91-pio4: Use devm_pinctrl_register() for pinctrl registration
authorLaxman Dewangan <ldewangan@nvidia.com>
Wed, 24 Feb 2016 09:14:07 +0000 (14:44 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Apr 2016 07:23:22 +0000 (09:23 +0200)
commit5d3fc884b2616d0b0b5db4dbd83e9f3bae5d6d3f
tree702fac4a1d58fc9ef89fc6554504b23921234c14
parent4d106c2282804e7247e97314d97f8ec5d2d66dab
pinctrl: at91-pio4: Use devm_pinctrl_register() for pinctrl registration

Use devm_pinctrl_register() for pin control registration and clean
error path.

Signed-off-by: Laxman Dewangan <ldewangan@nvidia.com>
Cc: linux-arm-kernel@lists.infradead.org
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-at91-pio4.c