scsi: ufs: core: 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-6-c86cb4f6e91c@linaro.org Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
2ee2d99fe4
commit
9282899e1e
@ -10864,7 +10864,6 @@ static void ufshcd_check_header_layout(void)
|
|||||||
static struct scsi_driver ufs_dev_wlun_template = {
|
static struct scsi_driver ufs_dev_wlun_template = {
|
||||||
.gendrv = {
|
.gendrv = {
|
||||||
.name = "ufs_device_wlun",
|
.name = "ufs_device_wlun",
|
||||||
.owner = THIS_MODULE,
|
|
||||||
.probe = ufshcd_wl_probe,
|
.probe = ufshcd_wl_probe,
|
||||||
.remove = ufshcd_wl_remove,
|
.remove = ufshcd_wl_remove,
|
||||||
.pm = &ufshcd_wl_pm_ops,
|
.pm = &ufshcd_wl_pm_ops,
|
||||||
|
Loading…
x
Reference in New Issue
Block a user