All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH] Staging: most: hdm-i2c: Drop owner assignment from i2c driver
@ 2015-10-12 13:14 Shraddha Barke
  0 siblings, 0 replies; only message in thread
From: Shraddha Barke @ 2015-10-12 13:14 UTC (permalink / raw)
  To: outreachy-kernel

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

Signed-off-by: Shraddha Barke <shraddha.6596@gmail.com>
---
 drivers/staging/most/hdm-i2c/hdm_i2c.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/staging/most/hdm-i2c/hdm_i2c.c b/drivers/staging/most/hdm-i2c/hdm_i2c.c
index cffea40..9768281 100644
--- a/drivers/staging/most/hdm-i2c/hdm_i2c.c
+++ b/drivers/staging/most/hdm-i2c/hdm_i2c.c
@@ -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,
-- 
2.1.4



^ permalink raw reply related	[flat|nested] only message in thread

only message in thread, other threads:[~2015-10-12 13:14 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2015-10-12 13:14 [PATCH] Staging: most: hdm-i2c: Drop owner assignment from i2c driver Shraddha Barke

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.