pinctrl: adi2: 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:20 +0000 (09:23 +0200)
commit12ba40821ad0fd3c202efdb31b0be9b5872cef1c
tree6c8c695f6ef264a0b26f6092b1ad12f7b5562a69
parentf3abcb66b55ff30b976f7fd48c84fd3922d95d55
pinctrl: adi2: 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-adi2.c