OSDN Git Service

gpio: tc3589x: use managed resources
authorLinus Walleij <linus.walleij@linaro.org>
Wed, 9 Apr 2014 10:38:56 +0000 (12:38 +0200)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 28 Apr 2014 19:35:07 +0000 (12:35 -0700)
commit033f275236ec0a5ce54b73d5a4b3d0d46f155615
tree6aa2d3c61ce0068ac49ca02fbcab11d86fb908be
parent1c8732bb0355b929b09173464cdca7df4d516f89
gpio: tc3589x: use managed resources

Grab state container and irq using the devm_* functions and save
some lines of hairy clean-up code.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tc3589x.c