mailbox: pcc: fix platform_no_drv_owner.cocci warning
PATCH 1/1 mailbox: pcc: fix platform_no_drv_owner.cocci warning
./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
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Signed-off-by Zou Wei <[email protected]>
--- drivers/mailbox/pcc.c | 1 - 1 file changed, 1 deletion(-)
drivers/mailbox/pcc.c +0 -1
@@ -577,7 +577,6 @@ static struct platform_driver pcc_mbox_driver = { .probe = pcc_mbox_probe, .driver = { .name = "PCCT", - .owner = THIS_MODULE, }, };
Signature · 1 line
2.6.2