diff options
author | YueHaibing <yuehaibing@huawei.com> | 2019-03-21 02:45:17 +0100 |
---|---|---|
committer | Martin K. Petersen <martin.petersen@oracle.com> | 2019-03-26 03:07:10 +0100 |
commit | 3aa222cdfc2c90b97539e8f4e70a4aec0b1258a6 (patch) | |
tree | f2035a294aee2bad644da38db892cd45fd7a1c19 /drivers/scsi/ufs | |
parent | scsi: target: iscsi: Free conn_ops when zalloc_cpumask_var failed (diff) | |
download | linux-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.c | 1 |
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, }, |