Commit 3cfc7489 authored by Yang Li's avatar Yang Li Committed by Jassi Brar
Browse files

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: default avatarAbaci Robot <abaci@linux.alibaba.com>
Signed-off-by: default avatarYang Li <yang.lee@linux.alibaba.com>
Signed-off-by: default avatarJassi Brar <jaswinder.singh@linaro.org>
parent 2a7db0d6
Loading
Loading
Loading
Loading
+0 −1
Original line number Diff line number Diff line
@@ -577,7 +577,6 @@ static struct platform_driver pcc_mbox_driver = {
	.probe = pcc_mbox_probe,
	.driver = {
		.name = "PCCT",
		.owner = THIS_MODULE,
	},
};