projects
/
GitHub
/
LineageOS
/
android_kernel_samsung_universal7580.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
b6b24c7
)
drivers/video/da8xx-fb.c: fix error return
author
Roel Kluin
<roel.kluin@gmail.com>
Tue, 17 Nov 2009 22:06:15 +0000
(14:06 -0800)
committer
Linus Torvalds
<torvalds@linux-foundation.org>
Wed, 18 Nov 2009 01:40:33 +0000
(17:40 -0800)
The return should be negative on errors
Signed-off-by: Roel Kluin <roel.kluin@gmail.com>
Cc: Sudhakar Rajashekhara <sudhakar.raj@ti.com>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/video/da8xx-fb.c
patch
|
blob
|
blame
|
history
diff --git
a/drivers/video/da8xx-fb.c
b/drivers/video/da8xx-fb.c
index d065894ce38fbf952a46d2da87da67b34374289a..035d56835b75477118c0bfc430d6a4d7c1d71d62 100644
(file)
--- a/
drivers/video/da8xx-fb.c
+++ b/
drivers/video/da8xx-fb.c
@@
-704,7
+704,7
@@
static int __init fb_probe(struct platform_device *device)
if (i == ARRAY_SIZE(known_lcd_panels)) {
dev_err(&device->dev, "GLCD: No valid panel found\n");
- ret = ENODEV;
+ ret =
-
ENODEV;
goto err_clk_disable;
} else
dev_info(&device->dev, "GLCD: Found %s panel\n",