Update lsp/driver/leds/leds_driver.c

modified the error exit of class_create