mirror of https://gitee.com/openkylin/linux.git
scsi: ufs: Fix platform_no_drv_owner.cocci warnings
Remove .owner field if calls are used which set it automatically Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: YueHaibing <yuehaibing@huawei.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
This commit is contained in:
parent
ed4c1136ac
commit
6c8d5f0512
|
@ -135,7 +135,6 @@ static struct platform_driver cdns_ufs_pltfrm_driver = {
|
|||
.remove = cdns_ufs_pltfrm_remove,
|
||||
.driver = {
|
||||
.name = "cdns-ufshcd",
|
||||
.owner = THIS_MODULE,
|
||||
.pm = &cdns_ufs_dev_pm_ops,
|
||||
.of_match_table = cdns_ufs_of_match,
|
||||
},
|
||||
|
|
Loading…
Reference in New Issue