[PATCH AUTOSEL 4.20 294/304] HID: lenovo: Add checks to fix of_led_classdev_register