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 2/6] scsi: sd: drop driver owner initialization
Date: Thu, 28 Mar 2024 21:45:46 +0100 [thread overview]
Message-ID: <20240328-b4-module-owner-scsi-v1-2-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>
---
drivers/scsi/sd.c | 1 -
1 file changed, 1 deletion(-)
diff --git a/drivers/scsi/sd.c b/drivers/scsi/sd.c
index ccff8f2e2e75..0b447f1bc1a9 100644
--- a/drivers/scsi/sd.c
+++ b/drivers/scsi/sd.c
@@ -4185,7 +4185,6 @@ static const struct dev_pm_ops sd_pm_ops = {
static struct scsi_driver sd_template = {
.gendrv = {
.name = "sd",
- .owner = THIS_MODULE,
.probe = sd_probe,
.probe_type = PROBE_PREFER_ASYNCHRONOUS,
.remove = sd_remove,
--
2.34.1
next prev parent reply other threads:[~2024-03-28 20:45 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 ` Krzysztof Kozlowski [this message]
2024-03-28 20:45 ` [PATCH 3/6] scsi: ses: drop driver owner initialization 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 ` [PATCH 6/6] ufs: core: " Krzysztof Kozlowski
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-2-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 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®