From: kbuild test robot <fengguang.wu@intel.com>
To: Janek Kotas <jank@cadence.com>
Cc: kbuild-all@01.org,
"Martin K. Petersen" <martin.petersen@oracle.com>,
Vinayak Holikatti <vinholikatti@gmail.com>,
"James E.J. Bottomley" <jejb@linux.vnet.ibm.com>,
linux-scsi@vger.kernel.org, linux-kernel@vger.kernel.org
Subject: [PATCH] scsi: ufs: fix platform_no_drv_owner.cocci warnings
Date: Fri, 16 Nov 2018 11:29:00 +0800 [thread overview]
Message-ID: <20181116032900.GA138752@ivb43> (raw)
In-Reply-To: <201811161154.LI2iPqpc%fengguang.wu@intel.com>
From: kbuild test robot <fengguang.wu@intel.com>
drivers/scsi/ufs/cdns-pltfrm.c:138:3-8: No need to set .owner here. The core will do it.
Remove .owner field if calls are used which set it automatically
Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci
Fixes: d90996dae8e4 ("scsi: ufs: Add UFS platform driver for Cadence UFS")
CC: Janek Kotas <jank@cadence.com>
Signed-off-by: kbuild test robot <fengguang.wu@intel.com>
---
tree: https://git.kernel.org/pub/scm/linux/kernel/git/mkp/scsi.git queue
head: 399b6c8bc9f705c8fc718ddeb1671f88174da051
commit: d90996dae8e48e042bd9fbfc11c73504a19a6e68 [54/101] scsi: ufs: Add UFS platform driver for Cadence UFS
cdns-pltfrm.c | 1 -
1 file changed, 1 deletion(-)
--- a/drivers/scsi/ufs/cdns-pltfrm.c
+++ b/drivers/scsi/ufs/cdns-pltfrm.c
@@ -135,7 +135,6 @@ static struct platform_driver cdns_ufs_p
.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,
},
parent reply other threads:[~2018-11-16 3:29 UTC|newest]
Thread overview: expand[flat|nested] mbox.gz Atom feed
[parent not found: <201811161154.LI2iPqpc%fengguang.wu@intel.com>]
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20181116032900.GA138752@ivb43 \
--to=fengguang.wu@intel.com \
--cc=jank@cadence.com \
--cc=jejb@linux.vnet.ibm.com \
--cc=kbuild-all@01.org \
--cc=linux-kernel@vger.kernel.org \
--cc=linux-scsi@vger.kernel.org \
--cc=martin.petersen@oracle.com \
--cc=vinholikatti@gmail.com \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox