pinctrl: palmas: 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:23 +0000 (09:23 +0200)
commit5039d27203aac887fa7bf0110e68aa6581c5a902
treefe9a5d153228d45ba821474406e3bffc73763842
parent19ba900bd28422e8a986e3fc2c5dda0a2054315a
pinctrl: palmas: 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>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-palmas.c