projects
/
GitHub
/
moto-9609
/
android_kernel_motorola_exynos9610.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
c49e38c
)
MIPS: TXx9: Fix error handling / Fix for noenexisting gpio_remove.
author
Ralf Roesch
<ralf.roesch@rw-gmbh.de>
Wed, 16 Sep 2009 06:01:20 +0000
(08:01 +0200)
committer
Ralf Baechle
<ralf@linux-mips.org>
Mon, 2 Nov 2009 11:00:02 +0000
(12:00 +0100)
Error was introduced by commit
0385d1f3d394c6814be0b165c153fc3fc254469a
.
Signed-off-by: Ralf Roesch <ralf.roesch@rw-gmbh.de>
Signed-off-by: Ralf Baechle <ralf@linux-mips.org>
arch/mips/txx9/generic/setup.c
patch
|
blob
|
blame
|
history
diff --git
a/arch/mips/txx9/generic/setup.c
b/arch/mips/txx9/generic/setup.c
index c860810722c0a1450a47a3268e9e520e97712efc..dfe4720ac82e017b73ad952b7ee95cee9d34161d 100644
(file)
--- a/
arch/mips/txx9/generic/setup.c
+++ b/
arch/mips/txx9/generic/setup.c
@@
-817,7
+817,8
@@
void __init txx9_iocled_init(unsigned long baseaddr,
out_pdev:
platform_device_put(pdev);
out_gpio:
- gpio_remove(&iocled->chip);
+ if (gpiochip_remove(&iocled->chip))
+ return;
out_unmap:
iounmap(iocled->mmioaddr);
out_free: