mirror of
https://github.com/torvalds/linux.git
synced 2024-11-10 14:11:52 +00:00
scsi: sr: Drop driver owner initialization
Core in scsi_register_driver() already sets the .owner, so driver does not need to. Signed-off-by: Krzysztof Kozlowski <krzysztof.kozlowski@linaro.org> Link: https://lore.kernel.org/r/20240328-b4-module-owner-scsi-v1-4-c86cb4f6e91c@linaro.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
8d326b243c
commit
dc916f7f0f
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user