backlight: Fix error handling
authorDmitry Torokhov <dtor@mail.ru>
Wed, 7 Feb 2007 22:25:50 +0000 (22:25 +0000)
committerRichard Purdie <rpurdie@rpsys.net>
Tue, 20 Feb 2007 08:35:09 +0000 (08:35 +0000)
commit2fd5a15489dd2e58009ffd4ecbadb36a40f67d2b
tree4f7406a6efbe9219f5bf78e3f112e67573efa0aa
parent7a208463b20e893e8e2074b2d41b8dc09568ddee
backlight: Fix error handling

Fix error handling when registering new device

Signed-off-by: Dmitry Torokhov <dtor@mail.ru>
Signed-off-by: Richard Purdie <rpurdie@rpsys.net>
drivers/video/backlight/backlight.c
drivers/video/backlight/lcd.c