From 3aa222cdfc2c90b97539e8f4e70a4aec0b1258a6 Mon Sep 17 00:00:00 2001 From: YueHaibing Date: Thu, 21 Mar 2019 01:45:17 +0000 Subject: 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 Reviewed-by: Stanley Chu Signed-off-by: Martin K. Petersen --- drivers/scsi/ufs/ufs-mediatek.c | 1 - 1 file changed, 1 deletion(-) (limited to 'drivers/scsi/ufs') 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, }, -- cgit v1.2.3