mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] scsi: csiostor: drop driver owner assignment
@ 2024-03-27 17:49 Krzysztof Kozlowski
  2024-03-27 17:49 ` [PATCH 2/2] scsi: qla2xxx: " Krzysztof Kozlowski
                   ` (2 more replies)
  0 siblings, 3 replies; 4+ messages in thread
From: Krzysztof Kozlowski @ 2024-03-27 17:49 UTC (permalink / raw)
  To: James E.J. Bottomley, Martin K. Petersen, Nilesh Javali,
	GR-QLogic-Storage-Upstream, linux-scsi, linux-kernel
  Cc: Krzysztof Kozlowski

PCI core in pci_register_driver() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/scsi/csiostor/csio_init.c | 3 ---
 1 file changed, 3 deletions(-)

diff --git a/drivers/scsi/csiostor/csio_init.c b/drivers/scsi/csiostor/csio_init.c
index d649b7a2a879..9a3f2ed050bd 100644
--- a/drivers/scsi/csiostor/csio_init.c
+++ b/drivers/scsi/csiostor/csio_init.c
@@ -1185,9 +1185,6 @@ static struct pci_error_handlers csio_err_handler = {
 
 static struct pci_driver csio_pci_driver = {
 	.name		= KBUILD_MODNAME,
-	.driver		= {
-		.owner	= THIS_MODULE,
-	},
 	.id_table	= csio_pci_tbl,
 	.probe		= csio_probe_one,
 	.remove		= csio_remove_one,
-- 
2.34.1


^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2024-04-09  3:09 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2024-03-27 17:49 [PATCH 1/2] scsi: csiostor: drop driver owner assignment Krzysztof Kozlowski
2024-03-27 17:49 ` [PATCH 2/2] scsi: qla2xxx: " Krzysztof Kozlowski
2024-04-06  0:53 ` [PATCH 1/2] scsi: csiostor: " Martin K. Petersen
2024-04-09  3:08 ` Martin K. Petersen

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®