+3
−5
Loading
Avoid possibly printing a warning about the inability to initialize the backlight if the hid endpoint doesn't support it. Also fix and move an incorrect check in asus_kbd_register_leds(): that same check is now used as a precondition to call that function. Fixes: 0919db9f ("HID: asus: always fully initialize devices") Signed-off-by:Denis Benato <denis.benato@linux.dev> Signed-off-by:
Jiri Kosina <jkosina@suse.com>