Skip to content

Commit 42974f3

Browse files
YueHaibingmpe
authored andcommitted
powerpc/pseries: Fix platform_no_drv_owner.cocci warnings
Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Michael Ellerman <mpe@ellerman.id.au> Link: https://lore.kernel.org/r/20190218133950.95225-1-yuehaibing@huawei.com
1 parent 11dd34f commit 42974f3

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

arch/powerpc/platforms/pseries/papr_scm.c

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -513,7 +513,6 @@ static struct platform_driver papr_scm_driver = {
513513
.remove = papr_scm_remove,
514514
.driver = {
515515
.name = "papr_scm",
516-
.owner = THIS_MODULE,
517516
.of_match_table = papr_scm_match,
518517
},
519518
};

0 commit comments

Comments
 (0)