mirror of
https://mirrors.bfsu.edu.cn/git/linux.git
synced 2024-11-11 04:18:39 +08:00
scsi: st: 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-5-c86cb4f6e91c@linaro.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
dc916f7f0f
commit
2ee2d99fe4
@ -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,
|
||||
|
Loading…
Reference in New Issue
Block a user