Skip to contentSkip to conversation

pinctrl: artpec6: Remove .owner field for driver

PATCH In review Wei Yongjun 2 participants 2 messages Apr 25, 2017 – Apr 26, 2017

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

PATCH 1/1 pinctrl: artpec6: Remove .owner field for driver

From: Wei Yongjun <[email protected]>

Remove .owner field if calls are used which set it automatically.

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

---
 drivers/pinctrl/pinctrl-artpec6.c | 1 -
 1 file changed, 1 deletion(-)
drivers/pinctrl/pinctrl-artpec6.c +0 -1
index b5a2eff..8b48871 100644
@@ -967,7 +967,6 @@ static const struct of_device_id artpec6_pinctrl_match[] = {
 static struct platform_driver artpec6_pmx_driver = {
 	.driver = {
 		.name = "artpec6-pinctrl",
-		.owner = THIS_MODULE,
 		.of_match_table = artpec6_pinctrl_match,
 	},
 	.probe = artpec6_pmx_probe,