Fix debug message

This commit is contained in:
Werner Sembach 2023-05-15 19:54:48 +02:00
parent e2e69ea79d
commit 3b9a6b89e4

View file

@ -66,14 +66,14 @@ static bool leds_initialized = false;
static int clevo_evaluate_set_white_brightness(u8 brightness) static int clevo_evaluate_set_white_brightness(u8 brightness)
{ {
pr_debug("Set white brightness on %d\n", brightness); pr_debug("Set white brightness to %d\n", brightness);
return clevo_evaluate_method (CLEVO_CMD_SET_KB_WHITE_LEDS, brightness, NULL); return clevo_evaluate_method (CLEVO_CMD_SET_KB_WHITE_LEDS, brightness, NULL);
} }
static int clevo_evaluate_set_rgb_brightness(u8 brightness) static int clevo_evaluate_set_rgb_brightness(u8 brightness)
{ {
pr_debug("Set RGB brightness on %d\n", brightness); pr_debug("Set RGB brightness to %d\n", brightness);
return clevo_evaluate_method (CLEVO_CMD_SET_KB_RGB_LEDS, CLEVO_CMD_SET_KB_LEDS_SUB_RGB_BRIGHTNESS | brightness, NULL); return clevo_evaluate_method (CLEVO_CMD_SET_KB_RGB_LEDS, CLEVO_CMD_SET_KB_LEDS_SUB_RGB_BRIGHTNESS | brightness, NULL);
} }