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: NLinus Walleij <linus.walleij@linaro.org>
Showing
想要评论请 注册 或 登录
Grab state container and irq using the devm_* functions and save
some lines of hairy clean-up code.
Signed-off-by: NLinus Walleij <linus.walleij@linaro.org>