git.openpandora.org
/
pandora-kernel.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0e8f2fd
)
gpio: pca953x: use managed resources
author
Linus Walleij
<linus.walleij@linaro.org>
Fri, 25 Jan 2013 16:59:28 +0000
(17:59 +0100)
committer
Linus Walleij
<linus.walleij@linaro.org>
Mon, 28 Jan 2013 10:17:04 +0000
(11:17 +0100)
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>
drivers/gpio/gpio-pca953x.c
patch
|
blob
|
history
diff --cc
drivers/gpio/gpio-pca953x.c
Simple merge