All of lore.kernel.org
 help / color / mirror / Atom feed
From: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
To: "James E.J. Bottomley" <jejb@linux.ibm.com>,
	"Martin K. Petersen" <martin.petersen@oracle.com>,
	"Kai Mäkisara" <Kai.Makisara@kolumbus.fi>,
	"Alim Akhtar" <alim.akhtar@samsung.com>,
	"Avri Altman" <avri.altman@wdc.com>,
	"Bart Van Assche" <bvanassche@acm.org>
Cc: linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org,
	 Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Subject: [PATCH 6/6] ufs: core: drop driver owner initialization
Date: Thu, 28 Mar 2024 21:45:50 +0100	[thread overview]
Message-ID: <20240328-b4-module-owner-scsi-v1-6-c86cb4f6e91c@linaro.org> (raw)
In-Reply-To: <20240328-b4-module-owner-scsi-v1-0-c86cb4f6e91c@linaro.org>

Core in scsi_register_driver() already sets the .owner, so driver
does not need to.

Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org>

---

Depends on first SCSI patch.
---
 drivers/ufs/core/ufshcd.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/ufs/core/ufshcd.c b/drivers/ufs/core/ufshcd.c
index e30fd125988d..77fb9b2261a7 100644
--- a/drivers/ufs/core/ufshcd.c
+++ b/drivers/ufs/core/ufshcd.c
@@ -10896,7 +10896,6 @@ static void ufshcd_check_header_layout(void)
 static struct scsi_driver ufs_dev_wlun_template = {
 	.gendrv = {
 		.name = "ufs_device_wlun",
-		.owner = THIS_MODULE,
 		.probe = ufshcd_wl_probe,
 		.remove = ufshcd_wl_remove,
 		.pm = &ufshcd_wl_pm_ops,

-- 
2.34.1


  parent reply	other threads:[~2024-03-28 20:46 UTC|newest]

Thread overview: 9+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2024-03-28 20:45 [PATCH 0/6] scsi: store owner from modules with scsi_register_driver() Krzysztof Kozlowski
2024-03-28 20:45 ` [PATCH 1/6] " Krzysztof Kozlowski
2024-03-28 20:45 ` [PATCH 2/6] scsi: sd: drop driver owner initialization Krzysztof Kozlowski
2024-03-28 20:45 ` [PATCH 3/6] scsi: ses: " Krzysztof Kozlowski
2024-03-28 20:45 ` [PATCH 4/6] scsi: sr: " Krzysztof Kozlowski
2024-03-28 20:45 ` [PATCH 5/6] scsi: st: " Krzysztof Kozlowski
2024-03-28 20:45 ` Krzysztof Kozlowski [this message]
2024-04-06  0:59 ` [PATCH 0/6] scsi: store owner from modules with scsi_register_driver() Martin K. Petersen
2024-04-09  3:08 ` Martin K. Petersen

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=20240328-b4-module-owner-scsi-v1-6-c86cb4f6e91c@linaro.org \
    --to=krzysztof.kozlowski@linaro.org \
    --cc=Kai.Makisara@kolumbus.fi \
    --cc=alim.akhtar@samsung.com \
    --cc=avri.altman@wdc.com \
    --cc=bvanassche@acm.org \
    --cc=jejb@linux.ibm.com \
    --cc=linux-kernel@vger.kernel.org \
    --cc=linux-scsi@vger.kernel.org \
    --cc=martin.petersen@oracle.com \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.