All of lore.kernel.org
 help / color / mirror / Atom feed
* [PATCH -next] scsi: ufs: Fix platform_no_drv_owner.cocci warnings
@ 2018-11-13  1:26 YueHaibing
  0 siblings, 0 replies; 2+ messages in thread
From: YueHaibing @ 2018-11-13  1:26 UTC (permalink / raw)
  To: kernel-janitors

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>
---
 drivers/scsi/ufs/cdns-pltfrm.c | 1 -
 1 file changed, 1 deletion(-)

diff --git a/drivers/scsi/ufs/cdns-pltfrm.c b/drivers/scsi/ufs/cdns-pltfrm.c
index 8bcf863..4a37b4f 100644
--- a/drivers/scsi/ufs/cdns-pltfrm.c
+++ b/drivers/scsi/ufs/cdns-pltfrm.c
@@ -135,7 +135,6 @@ static int cdns_ufs_pltfrm_remove(struct platform_device *pdev)
 	.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,
 	},

^ permalink raw reply related	[flat|nested] 2+ messages in thread

* Re: [PATCH -next] scsi: ufs: Fix platform_no_drv_owner.cocci warnings
@ 2018-12-13  2:38 Martin K. Petersen
  0 siblings, 0 replies; 2+ messages in thread
From: Martin K. Petersen @ 2018-12-13  2:38 UTC (permalink / raw)
  To: kernel-janitors


YueHaibing,

> Remove .owner field if calls are used which set it automatically
> Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Applied to 4.21/scsi-queue.

-- 
Martin K. Petersen	Oracle Linux Engineering

^ permalink raw reply	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2018-12-13  2:38 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2018-12-13  2:38 [PATCH -next] scsi: ufs: Fix platform_no_drv_owner.cocci warnings Martin K. Petersen
  -- strict thread matches above, loose matches on Subject: below --
2018-11-13  1:26 YueHaibing

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.