diff mbox series

[5/6] scsi: st: drop driver owner initialization

Message ID 20240328-b4-module-owner-scsi-v1-5-c86cb4f6e91c@linaro.org (mailing list archive)
State Accepted
Headers show
Series scsi: store owner from modules with scsi_register_driver() | expand

Commit Message

Krzysztof Kozlowski March 28, 2024, 8:45 p.m. UTC
Core in scsi_register_driver() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
---
 drivers/scsi/st.c | 1 -
 1 file changed, 1 deletion(-)
diff mbox series

Patch

diff --git a/drivers/scsi/st.c b/drivers/scsi/st.c
index 5a9bcf8e0792..0d8ce1a92168 100644
--- a/drivers/scsi/st.c
+++ b/drivers/scsi/st.c
@@ -206,7 +206,6 @@  static int st_remove(struct device *);
 static struct scsi_driver st_template = {
 	.gendrv = {
 		.name		= "st",
-		.owner		= THIS_MODULE,
 		.probe		= st_probe,
 		.remove		= st_remove,
 		.groups		= st_drv_groups,