Linux kernel mirror (for testing) git.kernel.org/pub/scm/linux/kernel/git/torvalds/linux.git
kernel os linux

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>

authored by

Yang Li and committed by
Jassi Brar
3cfc7489 2a7db0d6

-1
-1
drivers/mailbox/pcc.c
··· 577 577 .probe = pcc_mbox_probe, 578 578 .driver = { 579 579 .name = "PCCT", 580 - .owner = THIS_MODULE, 581 580 }, 582 581 }; 583 582