gpio: em: Make use of devm functions
commit1cfe6f8cb1078039a0f8dfc833a4ae752220d2db
authorMagnus Damm <damm@opensource.se>
Wed, 13 Mar 2013 11:06:30 +0000 (13 20:06 +0900)
committerLinus Walleij <linus.walleij@linaro.org>
Wed, 27 Mar 2013 15:05:09 +0000 (27 16:05 +0100)
tree8dc62e21a9fc3dee5cf772f56bb4ad992e1ae47d
parent977d16b87a78844f090af0565cbd2e3a94fd6337
gpio: em: Make use of devm functions

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