mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Nomilize name
This commit is contained in:
parent
59512ed1fb
commit
4e6d2f0a3c
|
@ -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 = {
|
static struct led_classdev clevo_led_cdev = {
|
||||||
.name = DRIVER_NAME ":white:kbd_backlight",
|
.name = "white:kbd_backlight",
|
||||||
.max_brightness = CLEVO_KBD_BRIGHTNESS_MAX,
|
.max_brightness = CLEVO_KBD_BRIGHTNESS_MAX,
|
||||||
.brightness_set = &clevo_leds_set_brightness,
|
.brightness_set = &clevo_leds_set_brightness,
|
||||||
.brightness = CLEVO_KBD_BRIGHTNESS_DEFAULT
|
.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] = {
|
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.max_brightness = CLEVO_KBD_BRIGHTNESS_MAX,
|
||||||
.led_cdev.brightness_set = &clevo_leds_set_brightness_mc,
|
.led_cdev.brightness_set = &clevo_leds_set_brightness_mc,
|
||||||
.led_cdev.brightness = CLEVO_KBD_BRIGHTNESS_DEFAULT,
|
.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]
|
.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.max_brightness = CLEVO_KBD_BRIGHTNESS_MAX,
|
||||||
.led_cdev.brightness_set = &clevo_leds_set_brightness_mc,
|
.led_cdev.brightness_set = &clevo_leds_set_brightness_mc,
|
||||||
.led_cdev.brightness = CLEVO_KBD_BRIGHTNESS_DEFAULT,
|
.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]
|
.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.max_brightness = CLEVO_KBD_BRIGHTNESS_MAX,
|
||||||
.led_cdev.brightness_set = &clevo_leds_set_brightness_mc,
|
.led_cdev.brightness_set = &clevo_leds_set_brightness_mc,
|
||||||
.led_cdev.brightness = CLEVO_KBD_BRIGHTNESS_DEFAULT,
|
.led_cdev.brightness = CLEVO_KBD_BRIGHTNESS_DEFAULT,
|
||||||
|
|
Loading…
Reference in a new issue