diff options
author | Yang Li <yang.lee@linux.alibaba.com> | 2021-03-03 17:05:04 +0800 |
---|---|---|
committer | Jassi Brar <jaswinder.singh@linaro.org> | 2021-04-13 20:07:35 -0500 |
commit | 3cfc7489667bcd2ab4eb1638ec7bc8b67c6324d0 (patch) | |
tree | 3fe5be670d54b0f938dbd32006b2c16b77475aed | |
parent | 2a7db0d6eb5e76197ced6bf7f2519011ead809a9 (diff) |
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>
-rw-r--r-- | drivers/mailbox/pcc.c | 1 |
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, }, }; |