Fix spelling and reset value

This commit is contained in:
Werner Sembach 2022-08-31 19:13:38 +02:00
parent 1f9eb8fd10
commit b9b3c12b64

View file

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