aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/mailbox/pcc.c
diff options
context:
space:
mode:
authorYang Li <yang.lee@linux.alibaba.com>2021-03-03 17:05:04 +0800
committerJassi Brar <jaswinder.singh@linaro.org>2021-04-13 20:07:35 -0500
commit3cfc7489667bcd2ab4eb1638ec7bc8b67c6324d0 (patch)
tree3fe5be670d54b0f938dbd32006b2c16b77475aed /drivers/mailbox/pcc.c
parentdt-bindings: mailbox: Add compatible for SM8350 IPCC (diff)
downloadlinux-dev-3cfc7489667bcd2ab4eb1638ec7bc8b67c6324d0.tar.xz
linux-dev-3cfc7489667bcd2ab4eb1638ec7bc8b67c6324d0.zip
mailbox: pcc: fix platform_no_drv_owner.cocci warnings
./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>
Diffstat (limited to 'drivers/mailbox/pcc.c')
-rw-r--r--drivers/mailbox/pcc.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/mailbox/pcc.c b/drivers/mailbox/pcc.c
index ef9ecd1f5958..4b1a2d2a3d7b 100644
--- 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,
},
};