From 4e6d2f0a3c66a790b5bce563d570a1e898dc5344 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Wed, 24 Aug 2022 19:09:32 +0200 Subject: [PATCH] Nomilize name --- src/clevo_leds.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/clevo_leds.h b/src/clevo_leds.h index 7642568..f47a85b 100644 --- a/src/clevo_leds.h +++ b/src/clevo_leds.h @@ -113,7 +113,7 @@ static void clevo_leds_set_brightness_mc(struct led_classdev *led_cdev, enum led } static struct led_classdev clevo_led_cdev = { - .name = DRIVER_NAME ":white:kbd_backlight", + .name = "white:kbd_backlight", .max_brightness = CLEVO_KBD_BRIGHTNESS_MAX, .brightness_set = &clevo_leds_set_brightness, .brightness = CLEVO_KBD_BRIGHTNESS_DEFAULT @@ -184,7 +184,7 @@ static struct mc_subled clevo_mcled_cdevs_subleds[3][3] = { static struct led_classdev_mc clevo_mcled_cdevs[3] = { { - .led_cdev.name = DRIVER_NAME ":rgb:kbd_backlight", + .led_cdev.name = "rgb:kbd_backlight", .led_cdev.max_brightness = CLEVO_KBD_BRIGHTNESS_MAX, .led_cdev.brightness_set = &clevo_leds_set_brightness_mc, .led_cdev.brightness = CLEVO_KBD_BRIGHTNESS_DEFAULT, @@ -192,7 +192,7 @@ static struct led_classdev_mc clevo_mcled_cdevs[3] = { .subled_info = clevo_mcled_cdevs_subleds[0] }, { - .led_cdev.name = DRIVER_NAME ":rgb:kbd_backlight", + .led_cdev.name = "rgb:kbd_backlight", .led_cdev.max_brightness = CLEVO_KBD_BRIGHTNESS_MAX, .led_cdev.brightness_set = &clevo_leds_set_brightness_mc, .led_cdev.brightness = CLEVO_KBD_BRIGHTNESS_DEFAULT, @@ -200,7 +200,7 @@ static struct led_classdev_mc clevo_mcled_cdevs[3] = { .subled_info = clevo_mcled_cdevs_subleds[1] }, { - .led_cdev.name = DRIVER_NAME ":rgb:kbd_backlight", + .led_cdev.name = "rgb:kbd_backlight", .led_cdev.max_brightness = CLEVO_KBD_BRIGHTNESS_MAX, .led_cdev.brightness_set = &clevo_leds_set_brightness_mc, .led_cdev.brightness = CLEVO_KBD_BRIGHTNESS_DEFAULT,