[PATCH 4.20 280/352] HID: lenovo: Add checks to fix of_led_classdev_register