From f880587a0388c49a8e00a574f1cba273a51a1a47 Mon Sep 17 00:00:00 2001 From: Werner Sembach Date: Wed, 25 Jan 2023 14:28:33 +0100 Subject: [PATCH] Fix comented function --- src/clevo_leds.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/src/clevo_leds.h b/src/clevo_leds.h index 3391661..32e41ca 100644 --- a/src/clevo_leds.h +++ b/src/clevo_leds.h @@ -101,9 +101,9 @@ static void clevo_leds_set_brightness(struct led_classdev *led_cdev __always_unu u32 zone, color; struct led_classdev_mc *mcled_cdev = lcdev_to_mccdev(led_cdev); - ret = clevo_evaluate_set_brightness(CLEVO_KBD_BRIGHTNESS_MAX); + ret = clevo_evaluate_set_rgb_brightness(CLEVO_KBD_BRIGHTNESS_MAX); if (ret) { - pr_debug("clevo_leds_set_brightness_mc(): clevo_evaluate_set_brightness() failed\n"); + pr_debug("clevo_leds_set_brightness_mc(): clevo_evaluate_set_rgb_brightness() failed\n"); return; }