Skip to content

Commit

Permalink
soc: zte: pm_domains: Remove .owner field for driver
Browse files Browse the repository at this point in the history
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>
Signed-off-by: Shawn Guo <shawnguo@kernel.org>
  • Loading branch information
Wei Yongjun authored and Shawn Guo committed Mar 8, 2017
1 parent e3a059c commit 71ce843
Showing 1 changed file with 0 additions and 1 deletion.
1 change: 0 additions & 1 deletion drivers/soc/zte/zx296718_pm_domains.c
Original file line number Diff line number Diff line change
Expand Up @@ -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,
Expand Down

0 comments on commit 71ce843

Please sign in to comment.