gpio: sx150x: convert to use devm_* functions
authorNikolay Balandin <nbalandin@dev.rtsoft.ru>
Tue, 28 May 2013 22:02:50 +0000 (15:02 -0700)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 30 May 2013 20:18:36 +0000 (22:18 +0200)
commit644c8df2fb276e6cdfab18d60e9e0bf7a5b65b9a
tree555d908ae4e0450c9c71ef9d28c5944f8cae781a
parentd15b71796316100b31729c8305ac11f03a189670
gpio: sx150x: convert to use devm_* functions

Use devm_* functions to make cleanup paths simpler.

Signed-off-by: Nikolay Balandin <nbalandin@dev.rtsoft.ru>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-sx150x.c