[PATCH 4.14 157/205] HID: lenovo: Add checks to fix of_led_classdev_register