]> err.no Git - linux-2.6/blobdiff - drivers/video/backlight/hp680_bl.c
Pull bugfix into test branch
[linux-2.6] / drivers / video / backlight / hp680_bl.c
index e3993213d10e39cb2e98629dc114775dcc23aa37..1c569fb543ae80f6bef9d6954954398ae358a1c2 100644 (file)
@@ -117,6 +117,10 @@ static int __init hp680bl_probe(struct platform_device *dev)
 
 static int hp680bl_remove(struct platform_device *dev)
 {
+       hp680bl_data.brightness = 0;
+       hp680bl_data.power = 0;
+       hp680bl_send_intensity(hp680_backlight_device);
+
        backlight_device_unregister(hp680_backlight_device);
 
        return 0;