Skip to contentSkip to conversation

ZEN: fix platform_no_drv_owner.cocci warnings

PATCH New Julia Lawall 1 participant 1 message Jul 26, 2020 SCSI

lore
Share & tools
lore
#0 lore raw

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")

---

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_platf
 
 static struct platform_driver vhba_platform_driver = {
     .driver = {
-        .owner = THIS_MODULE,
         .name = "vhba",
     },
     .probe = vhba_probe,