summaryrefslogtreecommitdiffstats
path: root/arch
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-02-18 14:39:50 +0100
committerMichael Ellerman <mpe@ellerman.id.au>2019-11-13 06:58:06 +0100
commit42974f357dbf05d649ff62719de21995e7cfee79 (patch)
treee2adadc03ab15090a1bd58cc74824d2998a670a3 /arch
parentpowerpc/pseries: Drop pointless static qualifier in vpa_debugfs_init() (diff)
downloadlinux-42974f357dbf05d649ff62719de21995e7cfee79.tar.xz
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')
-rw-r--r--arch/powerpc/platforms/pseries/papr_scm.c1
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,
},
};