]> git.karo-electronics.de Git - karo-tx-linux.git/commit
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, 14 Apr 2014 08:22:50 +0000 (10:22 +0200)
commitf94d9aa9bd09c344c1c8b65701602047cad95c47
tree0ad2540c0570dd78168484018c5d94d4190a2a9d
parent855460274aefabb84ae1537f9b7b4fbf70f0092b
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