Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1574962 > unrolled thread

[PATCH -next] soc: zte: pm_domains: Remove .owner field for driver

Started byWei Yongjun <weiyj.lk@gmail.com>
First post2017-02-06 17:30 +0100
Last post2017-02-06 17:30 +0100
Articles 1 — 1 participant

Back to article view | Back to linux.kernel


Contents

  [PATCH -next] soc: zte: pm_domains: Remove .owner field for driver Wei Yongjun <weiyj.lk@gmail.com> - 2017-02-06 17:30 +0100

#1574962 — [PATCH -next] soc: zte: pm_domains: Remove .owner field for driver

FromWei Yongjun <weiyj.lk@gmail.com>
Date2017-02-06 17:30 +0100
Subject[PATCH -next] soc: zte: pm_domains: Remove .owner field for driver
Message-ID<t7UkW-7hD-11@gated-at.bofh.it>
From: Wei Yongjun <weiyongjun1@huawei.com>

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

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

Signed-off-by: Wei Yongjun <weiyongjun1@huawei.com>
---
 drivers/soc/zte/zx296718_pm_domains.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/soc/zte/zx296718_pm_domains.c b/drivers/soc/zte/zx296718_pm_domains.c
index 5ed924f..4dc5d62 100644
--- a/drivers/soc/zte/zx296718_pm_domains.c
+++ b/drivers/soc/zte/zx296718_pm_domains.c
@@ -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,

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web