summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2018-11-13 01:26:17 +0000
committerMartin K. Petersen <martin.petersen@oracle.com>2018-12-12 21:37:56 -0500
commit6c8d5f051251f64af9026a9a763bb96a0f4a8d6f (patch)
tree9dcc07d863b3d8eee7a156c071a33a2eac3e9ba8 /drivers/scsi/ufs
parented4c1136ac2a0dd8ca3ec37de2658eadb9d83c43 (diff)
downloadlinux-6c8d5f051251f64af9026a9a763bb96a0f4a8d6f.tar.bz2
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>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r--drivers/scsi/ufs/cdns-pltfrm.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/cdns-pltfrm.c b/drivers/scsi/ufs/cdns-pltfrm.c
index 8bcf863e1576..4a37b4f57164 100644
--- a/drivers/scsi/ufs/cdns-pltfrm.c
+++ b/drivers/scsi/ufs/cdns-pltfrm.c
@@ -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,
},