summaryrefslogtreecommitdiffstats
path: root/drivers/scsi/ufs
diff options
context:
space:
mode:
authorYueHaibing <yuehaibing@huawei.com>2019-03-21 02:45:17 +0100
committerMartin K. Petersen <martin.petersen@oracle.com>2019-03-26 03:07:10 +0100
commit3aa222cdfc2c90b97539e8f4e70a4aec0b1258a6 (patch)
treef2035a294aee2bad644da38db892cd45fd7a1c19 /drivers/scsi/ufs
parentscsi: target: iscsi: Free conn_ops when zalloc_cpumask_var failed (diff)
downloadlinux-3aa222cdfc2c90b97539e8f4e70a4aec0b1258a6.tar.xz
linux-3aa222cdfc2c90b97539e8f4e70a4aec0b1258a6.zip
scsi: ufs-mediatek: 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> Reviewed-by: Stanley Chu <stanley.chu@mediatek.com> Signed-off-by: Martin K. Petersen <martin.petersen@oracle.com>
Diffstat (limited to 'drivers/scsi/ufs')
-rw-r--r--drivers/scsi/ufs/ufs-mediatek.c1
1 files changed, 0 insertions, 1 deletions
diff --git a/drivers/scsi/ufs/ufs-mediatek.c b/drivers/scsi/ufs/ufs-mediatek.c
index 2d7a88db8b2f..25045e9ce134 100644
--- a/drivers/scsi/ufs/ufs-mediatek.c
+++ b/drivers/scsi/ufs/ufs-mediatek.c
@@ -355,7 +355,6 @@ static struct platform_driver ufs_mtk_pltform = {
.shutdown = ufshcd_pltfrm_shutdown,
.driver = {
.name = "ufshcd-mtk",
- .owner = THIS_MODULE,
.pm = &ufs_mtk_pm_ops,
.of_match_table = ufs_mtk_of_match,
},