|
@@ -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);
|