Skip to contentSkip to conversation

staging: mt7621-gpio: remove redundant owner assignments of drivers

PATCH In review [email protected] 2 participants 2 messages Mar 20, 2018

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

PATCH 1/1 staging: mt7621-gpio: remove redundant owner assignments of drivers

From: HariPrasath Elango <[email protected]>

Remove the reduntant owner initialization from this platform driver as the platform_driver_register() takes care of it.

---
 drivers/staging/mt7621-gpio/gpio-mt7621.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/mt7621-gpio/gpio-mt7621.c +0 -1
index 5c57abe..830d429 100644
@@ -339,7 +339,6 @@ static struct platform_driver mediatek_gpio_driver = {
 	.probe = mediatek_gpio_probe,
 	.driver = {
 		.name = "mt7621_gpio",
-		.owner = THIS_MODULE,
 		.of_match_table = mediatek_gpio_match,
 	},
 };
Signature · 1 line
2.10.0.GIT
Reviewed-by on v1 1/1
#1 lore raw
Quoted 24 lines · On Tue, Mar 20 2018, [email protected] wrote:

From: HariPrasath Elango <[email protected]>

Remove the reduntant owner initialization from this platform driver as the platform_driver_register() takes care of it.

---
 drivers/staging/mt7621-gpio/gpio-mt7621.c | 1 -
 1 file changed, 1 deletion(-)
drivers/staging/mt7621-gpio/gpio-mt7621.c +0 -1
index 5c57abe..830d429 100644
@@ -339,7 +339,6 @@ static struct platform_driver mediatek_gpio_driver = {
 	.probe = mediatek_gpio_probe,
 	.driver = {
 		.name = "mt7621_gpio",
-		.owner = THIS_MODULE,
 		.of_match_table = mediatek_gpio_match,
 	},
 };
Signature · 1 line
2.10.0.GIT

Thanks,
NeilBrown

_______________________________________________
devel mailing list
[email protected]
http://driverdev.linuxdriverproject.org/mailman/listinfo/driverdev-devel