projects
/
linux.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
2a7db0d
)
mailbox: pcc: fix platform_no_drv_owner.cocci warnings
author
Yang Li
<yang.lee@linux.alibaba.com>
Wed, 3 Mar 2021 09:05:04 +0000
(17:05 +0800)
committer
Jassi Brar
<jaswinder.singh@linaro.org>
Wed, 14 Apr 2021 01:07:35 +0000
(20:07 -0500)
./drivers/mailbox/pcc.c:580:3-8: No need to set .owner here. The core
will do it.
Remove .owner field if calls are used which set it automatically
Reported-by: Abaci Robot <abaci@linux.alibaba.com>
Signed-off-by: Yang Li <yang.lee@linux.alibaba.com>
Signed-off-by: Jassi Brar <jaswinder.singh@linaro.org>
drivers/mailbox/pcc.c
patch
|
blob
|
history
diff --git
a/drivers/mailbox/pcc.c
b/drivers/mailbox/pcc.c
index ef9ecd1f595880f197140103759b1c2a2a3874bd..4b1a2d2a3d7bb39706f213ce6f418842879d7509 100644
(file)
--- a/
drivers/mailbox/pcc.c
+++ b/
drivers/mailbox/pcc.c
@@
-577,7
+577,6
@@
static struct platform_driver pcc_mbox_driver = {
.probe = pcc_mbox_probe,
.driver = {
.name = "PCCT",
- .owner = THIS_MODULE,
},
};