initramfs: break loop when decompression finishes
[platform/kernel/linux-rpi.git] / drivers / leds / leds-lp5521.c
index 030c040..2ef19ad 100644 (file)
@@ -594,18 +594,17 @@ static const struct i2c_device_id lp5521_id[] = {
 };
 MODULE_DEVICE_TABLE(i2c, lp5521_id);
 
-#ifdef CONFIG_OF
 static const struct of_device_id of_lp5521_leds_match[] = {
        { .compatible = "national,lp5521", },
        {},
 };
 
 MODULE_DEVICE_TABLE(of, of_lp5521_leds_match);
-#endif
+
 static struct i2c_driver lp5521_driver = {
        .driver = {
                .name   = "lp5521",
-               .of_match_table = of_match_ptr(of_lp5521_leds_match),
+               .of_match_table = of_lp5521_leds_match,
        },
        .probe          = lp5521_probe,
        .remove         = lp5521_remove,