projects
/
platform
/
kernel
/
linux-rpi.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
11dd34f
)
powerpc/pseries: Fix platform_no_drv_owner.cocci warnings
author
YueHaibing
<yuehaibing@huawei.com>
Mon, 18 Feb 2019 13:39:50 +0000
(13:39 +0000)
committer
Michael Ellerman
<mpe@ellerman.id.au>
Wed, 13 Nov 2019 05:58:06 +0000
(16:58 +1100)
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
arch/powerpc/platforms/pseries/papr_scm.c
patch
|
blob
|
history
diff --git
a/arch/powerpc/platforms/pseries/papr_scm.c
b/arch/powerpc/platforms/pseries/papr_scm.c
index ee07d0718bf1a05ab59e80f8be4370ce73e05513..f87b474d25a77f7ee4cb7224509e29bf65b423a9 100644
(file)
--- 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,
},
};