LKML Archive on lore.kernel.org
help / color / mirror / Atom feed
* [PATCH] mhi_bus: controller: fix platform_no_drv_owner.cocci warnings
@ 2018-04-28  7:18 Julia Lawall
  0 siblings, 0 replies; only message in thread
From: Julia Lawall @ 2018-04-28  7:18 UTC (permalink / raw)
  To: Sujeev Dias
  Cc: Greg Kroah-Hartman, Arnd Bergmann, linux-kernel, linux-arm-msm,
	Tony Truong, kbuild-all

From: Fengguang Wu <fengguang.wu@intel.com>

 Remove .owner field if calls are used which set it automatically

Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci

Fixes: 6190c08efd64 ("mhi_bus: controller: MHI support for QCOM modems")
CC: Sujeev Dias <sdias@codeaurora.org>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
Signed-off-by: Julia Lawall <julia.lawall@lip6.fr>
---

url:
https://github.com/0day-ci/linux/commits/Sujeev-Dias/mhi_bus-core-Add-support-for-MHI-host-interface/20180428-065959
:::::: branch date: 4 hours ago
:::::: commit date: 4 hours ago


 mhi_qcom.c |    1 -
 1 file changed, 1 deletion(-)

--- a/drivers/bus/mhi/controllers/mhi_qcom.c
+++ b/drivers/bus/mhi/controllers/mhi_qcom.c
@@ -639,7 +639,6 @@ static struct platform_driver mhi_platfo
 	.probe = mhi_platform_probe,
 	.driver = {
 		.name = "mhi",
-		.owner = THIS_MODULE,
 		.of_match_table = mhi_plat_match,
 	},
 };

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~2018-04-28  7:18 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2018-04-28  7:18 [PATCH] mhi_bus: controller: fix platform_no_drv_owner.cocci warnings Julia Lawall

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).