Skip to contentSkip to conversation

soc: zte: pm_domains: Remove .owner field for driver

PATCH Applied Wei Yongjun 2 participants 2 messages Feb 6, 2017 – Mar 8, 2017

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 soc: zte: pm_domains: 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/soc/zte/zx296718_pm_domains.c | 1 -
 1 file changed, 1 deletion(-)
drivers/soc/zte/zx296718_pm_domains.c +0 -1
index 5ed924f..4dc5d62 100644
@@ -169,7 +169,6 @@ static const struct of_device_id zx296718_pm_domain_matches[] = {
 static struct platform_driver zx296718_pd_driver = {
 	.driver = {
 		.name = "zx296718-powerdomain",
-		.owner = THIS_MODULE,
 		.of_match_table = zx296718_pm_domain_matches,
 	},
 	.probe = zx296718_pd_probe,