From b751619983664e2a5ba00d83c6268ed47c614f36 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Thu, 19 Jan 2023 20:25:20 +0100 Subject: [PATCH] Remove merge error --- src/uniwill_keyboard.h | 4 ---- 1 file changed, 4 deletions(-) diff --git a/src/uniwill_keyboard.h b/src/uniwill_keyboard.h index c004ea3..9a3ce9f 100644 --- a/src/uniwill_keyboard.h +++ b/src/uniwill_keyboard.h @@ -982,10 +982,6 @@ static int uniwill_keyboard_remove(struct platform_device *dev) if (uw_charging_profile_loaded) sysfs_remove_group(&dev->dev.kobj, &uw_charging_profile_attr_group); - if (uniwill_kbd_bl_type_rgb_single_color) { - sysfs_remove_group(&dev->dev.kobj, &uw_kbd_bl_color_attr_group); - } - uniwill_leds_remove(dev); // Restore previous backlight enable state