gpio: vx855: Switch to use managed resources APIs
authorAxel Lin <axel.lin@ingics.com>
Fri, 12 Dec 2014 04:17:41 +0000 (12:17 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Jan 2015 16:23:18 +0000 (17:23 +0100)
commit5b6a342ba9594f1636f85e4c58004d87de9570ab
tree2cdffca89ebedf8cf183a9d28b920b52aa455e55
parentc458e45045da96b4d3506ba2acab02af8c98c8c2
gpio: vx855: Switch to use managed resources APIs

Use devm_* APIs to simplify the code a bit.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Alexandre Courbot <acourbot@nvidia.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-vx855.c