mirror of
https://github.com/adulau/aha.git
synced 2024-12-28 03:36:19 +00:00
drivers/video/da8xx-fb.c: fix error return
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>
This commit is contained in:
parent
b6b24c73d5
commit
dd04a6b32b
1 changed files with 1 additions and 1 deletions
|
@ -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",
|
||||
|
|
Loading…
Reference in a new issue