pinctrl: at91: Use devm_pinctrl_register() for pinctrl registration
authorLaxman Dewangan <ldewangan@nvidia.com>
Sun, 28 Feb 2016 09:02:19 +0000 (14:32 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Apr 2016 07:23:22 +0000 (09:23 +0200)
commit5c67425a46738b6193af28371af6d2ba42e8550c
tree4129abfb52e74d495d0bf0b975458657bd5e2033
parent5d3fc884b2616d0b0b5db4dbd83e9f3bae5d6d3f
pinctrl: at91: Use devm_pinctrl_register() for pinctrl registration

Use devm_pinctrl_register() for pin control registration and remove
the need of .remove callback.

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