Commit dc916f7f authored by Krzysztof Kozlowski's avatar Krzysztof Kozlowski Committed by Martin K. Petersen

scsi: sr: Drop driver owner initialization

Core in scsi_register_driver() already sets the .owner, so driver does not
need to.
Signed-off-by: default avatarKrzysztof Kozlowski <krzysztof.kozlowski@linaro.org>
Link: https://lore.kernel.org/r/20240328-b4-module-owner-scsi-v1-4-c86cb4f6e91c@linaro.orgSigned-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent 8d326b24
......@@ -95,7 +95,6 @@ static const struct dev_pm_ops sr_pm_ops = {
static struct scsi_driver sr_template = {
.gendrv = {
.name = "sr",
.owner = THIS_MODULE,
.probe = sr_probe,
.remove = sr_remove,
.pm = &sr_pm_ops,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment