]> git.karo-electronics.de Git - linux-beck.git/blobdiff - drivers/video/backlight/hp680_bl.c
backlight: hp680_bl: fix checkpatch error and warning
[linux-beck.git] / drivers / video / backlight / hp680_bl.c
index c99966342448d265be5aea25f21a25b895a7c3bb..5cefd73526f861a70d46044a379e0f42982d833b 100644 (file)
@@ -26,7 +26,7 @@
 #define HP680_DEFAULT_INTENSITY 10
 
 static int hp680bl_suspended;
-static int current_intensity = 0;
+static int current_intensity;
 static DEFINE_SPINLOCK(bl_lock);
 
 static void hp680bl_send_intensity(struct backlight_device *bd)
@@ -168,7 +168,7 @@ static int __init hp680bl_init(void)
 static void __exit hp680bl_exit(void)
 {
        platform_device_unregister(hp680bl_device);
-       platform_driver_unregister(&hp680bl_driver);
+       platform_driver_unregister(&hp680bl_driver);
 }
 
 module_init(hp680bl_init);