gpio: em: Make use of devm functions
authorMagnus Damm <damm@opensource.se>
Wed, 13 Mar 2013 11:06:30 +0000 (20:06 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Mar 2013 15:05:09 +0000 (16:05 +0100)
Update the Emma Mobile GPIO driver to make use of devm
functions. This simplifies the error handling and makes
the code more compact.

Signed-off-by: Magnus Damm <damm@opensource.se>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-em.c

Simple merge