Skip to contentSkip to conversation

radio-si470x-i2c: Delete owner assignment

PATCH New SF Markus Elfring 1 participant 1 message Aug 15, 2016

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

PATCH 1/1 radio-si470x-i2c: Delete owner assignment

From: Markus Elfring <[email protected]>
Date: Mon, 15 Aug 2016 07:01:56 +0200

The field "owner" is set by core. Thus delete an extra initialisation.

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

---
 drivers/media/radio/si470x/radio-si470x-i2c.c | 1 -
 1 file changed, 1 deletion(-)
drivers/media/radio/si470x/radio-si470x-i2c.c +0 -1
index 471d6a8..ee0470a 100644
@@ -509,7 +509,6 @@ static SIMPLE_DEV_PM_OPS(si470x_i2c_pm, si470x_i2c_suspend, si470x_i2c_resume);
 static struct i2c_driver si470x_i2c_driver = {
 	.driver = {
 		.name		= "si470x",
-		.owner		= THIS_MODULE,
 #ifdef CONFIG_PM_SLEEP
 		.pm		= &si470x_i2c_pm,
 #endif
Signature · 1 line
2.9.2