From 0e777366fb0eba6facc44f0604fe6adbaf21d604 Mon Sep 17 00:00:00 2001 From: Krzysztof Kozlowski Date: Fri, 10 Jul 2015 14:05:40 +0900 Subject: mfd: Drop owner assignment from i2c_drivers i2c_driver does not need to set an owner because i2c_register_driver() will set it. Signed-off-by: Krzysztof Kozlowski Signed-off-by: Lee Jones --- drivers/mfd/tps65218.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/mfd/tps65218.c') diff --git a/drivers/mfd/tps65218.c b/drivers/mfd/tps65218.c index 7af11a8b9753..cb38d725250f 100644 --- a/drivers/mfd/tps65218.c +++ b/drivers/mfd/tps65218.c @@ -280,7 +280,6 @@ MODULE_DEVICE_TABLE(i2c, tps65218_id_table); static struct i2c_driver tps65218_driver = { .driver = { .name = "tps65218", - .owner = THIS_MODULE, .of_match_table = of_tps65218_match_table, }, .probe = tps65218_probe, -- cgit v1.2.1 From 4895e493f91bff7f96f328b883c7f6448aa6abc6 Mon Sep 17 00:00:00 2001 From: Javier Martinez Canillas Date: Thu, 30 Jul 2015 18:18:41 +0200 Subject: mfd: Export OF module alias information in missing drivers The I2C core always reports the MODALIAS uevent as "i2c: Signed-off-by: Lee Jones --- drivers/mfd/tps65218.c | 1 + 1 file changed, 1 insertion(+) (limited to 'drivers/mfd/tps65218.c') diff --git a/drivers/mfd/tps65218.c b/drivers/mfd/tps65218.c index cb38d725250f..80b9dc363cd8 100644 --- a/drivers/mfd/tps65218.c +++ b/drivers/mfd/tps65218.c @@ -211,6 +211,7 @@ static const struct of_device_id of_tps65218_match_table[] = { { .compatible = "ti,tps65218", }, {} }; +MODULE_DEVICE_TABLE(of, of_tps65218_match_table); static int tps65218_probe(struct i2c_client *client, const struct i2c_device_id *ids) -- cgit v1.2.1