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
This commit is contained in:
parent
11dd34f3ea
commit
42974f357d
|
@ -513,7 +513,6 @@ static struct platform_driver papr_scm_driver = {
|
|||
.remove = papr_scm_remove,
|
||||
.driver = {
|
||||
.name = "papr_scm",
|
||||
.owner = THIS_MODULE,
|
||||
.of_match_table = papr_scm_match,
|
||||
},
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue