These changes are the raw update to linux-4.4.6-rt14. Kernel sources
[kvmfornfv.git] / kernel / drivers / leds / leds-tca6507.c
index 20fa8e7..edbecc4 100644 (file)
@@ -735,6 +735,7 @@ static const struct of_device_id of_tca6507_leds_match[] = {
        { .compatible = "ti,tca6507", },
        {},
 };
+MODULE_DEVICE_TABLE(of, of_tca6507_leds_match);
 
 #else
 static struct tca6507_platform_data *
@@ -830,7 +831,6 @@ static int tca6507_remove(struct i2c_client *client)
 static struct i2c_driver tca6507_driver = {
        .driver   = {
                .name    = "leds-tca6507",
-               .owner   = THIS_MODULE,
                .of_match_table = of_match_ptr(of_tca6507_leds_match),
        },
        .probe    = tca6507_probe,