]> git.baikalelectronics.ru Git - kernel.git/commit
[PATCH] Fix error handling in backlight drivers
authorJean Delvare <khali@linux-fr.org>
Fri, 10 Mar 2006 01:33:36 +0000 (17:33 -0800)
committerLinus Torvalds <torvalds@g5.osdl.org>
Fri, 10 Mar 2006 03:47:37 +0000 (19:47 -0800)
commit7f7b86f7c3396c11e1cfec6fc70a5220cfd5c018
tree7e0b92fd8fc084311c8e1bec93484ecacfc99a75
parent8fc3bb142d97de496f1596b02b6bfc8e6e7f4ff5
[PATCH] Fix error handling in backlight drivers

ERR_PTR() is supposed to be passed a negative value.

Signed-off-by: Jean Delvare <khali@linux-fr.org>
Signed-off-by: Adrian Bunk <bunk@stusta.de>
Signed-off-by: Andrew Morton <akpm@osdl.org>
Signed-off-by: Linus Torvalds <torvalds@osdl.org>
drivers/video/backlight/backlight.c
drivers/video/backlight/lcd.c