mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Fix spelling and reset value
This commit is contained in:
parent
1f9eb8fd10
commit
b9b3c12b64
|
@ -60,7 +60,7 @@ void clevo_leds_set_color_extern(u32 color);
|
|||
#define CLEVO_KB_COLOR_DEFAULT ((CLEVO_KB_COLOR_DEFAULT_RED << 16) + (CLEVO_KB_COLOR_DEFAULT_GREEN << 8) + CLEVO_KB_COLOR_DEFAULT_BLUE)
|
||||
|
||||
static enum clevo_kb_backlight_types clevo_kb_backlight_type = CLEVO_KB_BACKLIGHT_TYPE_NONE;
|
||||
static bool leds_initiaized;
|
||||
static bool leds_initialized = false;
|
||||
|
||||
static int clevo_evaluate_set_white_brightness(u8 brightness)
|
||||
{
|
||||
|
@ -315,7 +315,7 @@ int clevo_leds_init(struct platform_device *dev)
|
|||
}
|
||||
}
|
||||
|
||||
leds_initiaized = true;
|
||||
leds_initialized = true;
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(clevo_leds_init);
|
||||
|
@ -335,6 +335,8 @@ int clevo_leds_remove(struct platform_device *dev) {
|
|||
}
|
||||
}
|
||||
|
||||
leds_initialized = false;
|
||||
|
||||
return 0;
|
||||
}
|
||||
EXPORT_SYMBOL(clevo_leds_remove);
|
||||
|
|
Loading…
Reference in a new issue