gpio: gpio-mxc: Use devm functions
authorFabio Estevam <fabio.estevam@freescale.com>
Mon, 8 Jul 2013 20:14:39 +0000 (17:14 -0300)
committerLinus Walleij <linus.walleij@linaro.org>
Sat, 20 Jul 2013 17:38:52 +0000 (19:38 +0200)
commit8cd73e4e3807315115122fd4e3ac7c33007cdf9c
treedf7fe068b04ef85b0875520543c2e3b65bea9bc0
parent04777396d8d183f3f3edd3872eb8bf50dd458b82
gpio: gpio-mxc: Use devm functions

By using devm functions we can get a simpler code.

Signed-off-by: Fabio Estevam <fabio.estevam@freescale.com>
Acked-by: Shawn Guo <shawn.guo@linaro.org>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-mxc.c