Fixed missing variable rename

This commit is contained in:
Werner Sembach 2022-08-31 19:14:21 +02:00
parent b9b3c12b64
commit 965e37a5c6

View file

@ -321,7 +321,7 @@ int clevo_leds_init(struct platform_device *dev)
EXPORT_SYMBOL(clevo_leds_init);
int clevo_leds_remove(struct platform_device *dev) {
if (leds_initiaized) {
if (leds_initialized) {
if (clevo_kb_backlight_type == CLEVO_KB_BACKLIGHT_TYPE_FIXED_COLOR) {
led_classdev_unregister(&clevo_led_cdev);
}