mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Remove unused function
This commit is contained in:
parent
5bf3547781
commit
640369f05e
|
@ -246,21 +246,6 @@ static u8 param_kbd_backlight_mode = CLEVO_KB_MODE_DEFAULT;
|
|||
module_param_cb(kbd_backlight_mode, ¶m_ops_mode_ops, ¶m_kbd_backlight_mode, S_IRUSR);
|
||||
MODULE_PARM_DESC(kbd_backlight_mode, "Set the keyboard backlight mode");
|
||||
|
||||
// TODO remove
|
||||
static int brightness_validator(const char *value,
|
||||
const struct kernel_param *brightness_param)
|
||||
{
|
||||
int brightness = 0;
|
||||
|
||||
if (kstrtoint(value, 10, &brightness) != 0
|
||||
|| brightness < 0
|
||||
|| brightness > 255) {
|
||||
return -EINVAL;
|
||||
}
|
||||
|
||||
return param_set_int(value, brightness_param);
|
||||
}
|
||||
|
||||
static void clevo_keyboard_event_callb(u32 event)
|
||||
{
|
||||
u32 key_event = event;
|
||||
|
|
Loading…
Reference in a new issue