OSDN Git Service
(root)
/
uclinux-h8
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
33826d0
)
fbdev: fix error return code in metronomefb_probe()
author
Wei Yongjun
<yongjun_wei@trendmicro.com.cn>
Sat, 12 Oct 2013 06:25:23 +0000
(14:25 +0800)
committer
Tomi Valkeinen
<tomi.valkeinen@ti.com>
Tue, 29 Oct 2013 10:20:11 +0000
(12:20 +0200)
Fix to return a negative error code from the error handling
case instead of 0, as done elsewhere in this function.
Signed-off-by: Wei Yongjun <yongjun_wei@trendmicro.com.cn>
Acked-by: Jean-Christophe PLAGNIOL-VILLARD <plagnioj@jcrosoft.com>
Signed-off-by: Tomi Valkeinen <tomi.valkeinen@ti.com>
drivers/video/metronomefb.c
patch
|
blob
|
history
diff --git
a/drivers/video/metronomefb.c
b/drivers/video/metronomefb.c
index
2d7dd8e
..
195cc2d
100644
(file)
--- a/
drivers/video/metronomefb.c
+++ b/
drivers/video/metronomefb.c
@@
-690,7
+690,8
@@
static int metronomefb_probe(struct platform_device *dev)
goto err_csum_table;
}
- if (board->setup_irq(info))
+ retval = board->setup_irq(info);
+ if (retval)
goto err_csum_table;
retval = metronome_init_regs(par);