diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-02-18 13:39:50 +0000 |
---|---|---|
committer | Michael Ellerman <mpe@ellerman.id.au> | 2019-11-13 16:58:06 +1100 |
commit | 42974f357dbf05d649ff62719de21995e7cfee79 (patch) | |
tree | e2adadc03ab15090a1bd58cc74824d2998a670a3 /arch/powerpc/platforms/pseries | |
parent | 11dd34f3eae5a468013bb161a1dcf1fecd2ca321 (diff) | |
download | linux-42974f357dbf05d649ff62719de21995e7cfee79.tar.gz linux-42974f357dbf05d649ff62719de21995e7cfee79.tar.bz2 linux-42974f357dbf05d649ff62719de21995e7cfee79.zip |
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
Diffstat (limited to 'arch/powerpc/platforms/pseries')
-rw-r--r-- | arch/powerpc/platforms/pseries/papr_scm.c | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/arch/powerpc/platforms/pseries/papr_scm.c b/arch/powerpc/platforms/pseries/papr_scm.c index ee07d0718bf1..f87b474d25a7 100644 --- a/arch/powerpc/platforms/pseries/papr_scm.c +++ b/arch/powerpc/platforms/pseries/papr_scm.c @@ -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, }, }; |