Commit 6c8d5f05 authored by YueHaibing's avatar YueHaibing Committed by Martin K. Petersen

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: default avatarYueHaibing <yuehaibing@huawei.com>
Signed-off-by: default avatarMartin K. Petersen <martin.petersen@oracle.com>
parent ed4c1136
...@@ -135,7 +135,6 @@ static struct platform_driver cdns_ufs_pltfrm_driver = { ...@@ -135,7 +135,6 @@ static struct platform_driver cdns_ufs_pltfrm_driver = {
.remove = cdns_ufs_pltfrm_remove, .remove = cdns_ufs_pltfrm_remove,
.driver = { .driver = {
.name = "cdns-ufshcd", .name = "cdns-ufshcd",
.owner = THIS_MODULE,
.pm = &cdns_ufs_dev_pm_ops, .pm = &cdns_ufs_dev_pm_ops,
.of_match_table = cdns_ufs_of_match, .of_match_table = cdns_ufs_of_match,
}, },
......
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