Skip to contentSkip to conversation

Staging: most: hdm-i2c: Drop owner assignment from i2c driver

PATCH New Shraddha Barke 1 participant 1 message Oct 12, 2015

Subsystems (2)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 Staging: most: hdm-i2c: Drop owner assignment from i2c driver

i2c_driver does not need to set an owner because core will set it

---
 drivers/staging/most/hdm-i2c/hdm_i2c.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/most/hdm-i2c/hdm_i2c.c +0 -1
index cffea40..9768281 100644
@@ -416,7 +416,6 @@ MODULE_DEVICE_TABLE(i2c, i2c_id);
 static struct i2c_driver i2c_driver = {
 	.driver = {
 		.name = "hdm_i2c",
-		.owner = THIS_MODULE,
 	},
 	.probe = i2c_probe,
 	.remove = i2c_remove,
Signature · 1 line
2.1.4