pinctrl: digicolor: Use devm_pinctrl_register() for pinctrl registration
authorLaxman Dewangan <ldewangan@nvidia.com>
Sun, 28 Feb 2016 09:03:21 +0000 (14:33 +0530)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 21 Apr 2016 07:23:22 +0000 (09:23 +0200)
commit8f91ed4780d4870c7e442ae37c402864e9370632
tree0eb3e8cd1c9ccf711d85cd137476bec27434f5c0
parent5c67425a46738b6193af28371af6d2ba42e8550c
pinctrl: digicolor: 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: Baruch Siach <baruch@tkos.co.il>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/pinctrl/pinctrl-digicolor.c