Skip to content
Commit 6ae16dfb authored by Aditya Pakki's avatar Aditya Pakki Committed by Jiri Kosina
Browse files

HID: lenovo: Add checks to fix of_led_classdev_register



In lenovo_probe_tpkbd(), the function of_led_classdev_register() could
return an error value that is unchecked. The fix adds these checks.

Signed-off-by: default avatarAditya Pakki <pakki001@umn.edu>
Signed-off-by: default avatarJiri Kosina <jkosina@suse.cz>
parent 46b14eef
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment