]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
soc: zte: pm_domains: Remove .owner field for driver
authorWei Yongjun <weiyongjun1@huawei.com>
Mon, 6 Feb 2017 16:23:18 +0000 (16:23 +0000)
committerShawn Guo <shawnguo@kernel.org>
Wed, 8 Mar 2017 11:40:44 +0000 (12:40 +0100)
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>
drivers/soc/zte/zx296718_pm_domains.c

index 5ed924fee855c8b21b82c5dc26844604ff639d34..4dc5d62ee81b1674088a8df2da3600310c0cd7a0 100644 (file)
@@ -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,