mirror of
https://github.com/wessel-novacustom/clevo-keyboard.git
synced 2024-11-15 03:34:01 +01:00
Remove remaining unnecessary highreg value for clarity
This commit is contained in:
parent
e9e3c8b8e5
commit
e25b657fa1
|
@ -173,7 +173,7 @@ static void uniwill_write_kbd_bl_enable(u8 enable)
|
||||||
__uniwill_wmi_ec_read(0x8c, 0x07, ®_read_return);
|
__uniwill_wmi_ec_read(0x8c, 0x07, ®_read_return);
|
||||||
write_value = reg_read_return.bytes.data_low & ~(1 << 1);
|
write_value = reg_read_return.bytes.data_low & ~(1 << 1);
|
||||||
write_value |= (!enable << 1);
|
write_value |= (!enable << 1);
|
||||||
__uniwill_wmi_ec_write(0x8c, 0x07, write_value, reg_read_return.bytes.data_high, ®_write_return);
|
__uniwill_wmi_ec_write(0x8c, 0x07, write_value, 0x00, ®_write_return);
|
||||||
} else {
|
} else {
|
||||||
TUXEDO_DEBUG("tuxedo-cc-wmi symbols not found\n");
|
TUXEDO_DEBUG("tuxedo-cc-wmi symbols not found\n");
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in a new issue