* [PATCH -next] soc: zte: pm_domains: Remove .owner field for driver
@ 2017-02-06 16:23 ` Wei Yongjun
0 siblings, 0 replies; 4+ messages in thread
From: Wei Yongjun @ 2017-02-06 16:23 UTC (permalink / raw)
To: Jun Nie, Baoyou Xie, Shawn Guo
Cc: Wei Yongjun, linux-arm-kernel, linux-kernel
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,
^ permalink raw reply related [flat|nested] 4+ messages in thread
* [PATCH -next] soc: zte: pm_domains: Remove .owner field for driver
@ 2017-02-06 16:23 ` Wei Yongjun
0 siblings, 0 replies; 4+ messages in thread
From: Wei Yongjun @ 2017-02-06 16:23 UTC (permalink / raw)
To: linux-arm-kernel
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,
^ permalink raw reply related [flat|nested] 4+ messages in thread
* Re: [PATCH -next] soc: zte: pm_domains: Remove .owner field for driver
2017-02-06 16:23 ` Wei Yongjun
@ 2017-03-08 11:42 ` Shawn Guo
-1 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2017-03-08 11:42 UTC (permalink / raw)
To: Wei Yongjun
Cc: Jun Nie, Baoyou Xie, Wei Yongjun, linux-arm-kernel, linux-kernel
On Mon, Feb 06, 2017 at 04:23:18PM +0000, Wei Yongjun wrote:
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
* [PATCH -next] soc: zte: pm_domains: Remove .owner field for driver
@ 2017-03-08 11:42 ` Shawn Guo
0 siblings, 0 replies; 4+ messages in thread
From: Shawn Guo @ 2017-03-08 11:42 UTC (permalink / raw)
To: linux-arm-kernel
On Mon, Feb 06, 2017 at 04:23:18PM +0000, Wei Yongjun wrote:
> 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>
Applied, thanks.
^ permalink raw reply [flat|nested] 4+ messages in thread
end of thread, other threads:[~2017-03-08 12:37 UTC | newest]
Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2017-02-06 16:23 [PATCH -next] soc: zte: pm_domains: Remove .owner field for driver Wei Yongjun
2017-02-06 16:23 ` Wei Yongjun
2017-03-08 11:42 ` Shawn Guo
2017-03-08 11:42 ` Shawn Guo
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.