From: YueHaibing Date: Tue, 13 Nov 2018 01:26:17 +0000 (+0000) Subject: scsi: ufs: Fix platform_no_drv_owner.cocci warnings X-Git-Url: http://git.lede-project.org./?a=commitdiff_plain;h=6c8d5f051251f64af9026a9a763bb96a0f4a8d6f;p=openwrt%2Fstaging%2Fblogic.git 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 Signed-off-by: Martin K. Petersen --- 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, },