diff options
author | Linus Walleij <linus.walleij@linaro.org> | 2013-01-25 17:59:28 +0100 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-01-28 11:17:04 +0100 |
commit | b42748c970d1865685749960cb23f08e259a9f86 (patch) | |
tree | 659149c3fd8b2f7a3c4a3694e13a43f8fade265f /drivers/gpio/gpiolib-acpi.c | |
parent | 0e8f2fdacf1d44651aa7e57063c76142d1f4988b (diff) |
gpio: pca953x: use managed resources
Using the devm_* managed resources the pca driver can be simplified
and cut down on boilerplate code.
[gcl: fixed a inccorect reference to a removed label, "goto fail_out"
became "return ret"]
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Gregory CLEMENT <gregory.clement@free-electrons.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpiolib-acpi.c')
0 files changed, 0 insertions, 0 deletions