ZEN: fix platform_no_drv_owner.cocci warnings
PATCH 1/1 ZEN: fix platform_no_drv_owner.cocci warnings
From: kernel test robot <[email protected]>
No need to set .owner here. The core will do it.
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Fixes a9bd5ac696bc ("ZEN: Add VHBA driver")
Signed-off-by kernel test robot <[email protected]>
Signed-off-by Julia Lawall <[email protected]>
---
tree: https://github.com/zen-kernel/zen-kernel 5.7/zen-sauce head: 9555af4960645728364e3b2aaae65e6ea7df0062 commit: a9bd5ac696bcd0860a8c32e9e00c9558e68c5854 [2/22] ZEN: Add VHBA driver
:::::: branch date: 8 weeks ago
:::::: commit date: 8 weeks ago
vhba.c | 1 - 1 file changed, 1 deletion(-)
drivers/scsi/vhba/vhba.c +0 -1
@@ -1042,7 +1042,6 @@ static struct platform_device vhba_platfstatic struct platform_driver vhba_platform_driver = { .driver = { - .owner =THIS_MODULE , .name ="vhba" , }, .probe = vhba_probe,