The Linux Kernel Mailing List
 help / color / mirror / Atom feed
* [PATCH] Bluetooth: hci_intel: fix platform_no_drv_owner.cocci warnings
       [not found] <201508280038.dKhX3DnU%fengguang.wu@intel.com>
@ 2015-08-27 16:40 ` kbuild test robot
  0 siblings, 0 replies; only message in thread
From: kbuild test robot @ 2015-08-27 16:40 UTC (permalink / raw)
  To: Loic Poulain
  Cc: kbuild-all, Marcel Holtmann, linux-bluetooth, Gustavo Padovan,
	Johan Hedberg, linux-kernel

drivers/bluetooth/hci_intel.c:872: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

CC: Loic Poulain <loic.poulain@intel.com>
Signed-off-by: Fengguang Wu <fengguang.wu@intel.com>
---

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

--- a/drivers/bluetooth/hci_intel.c
+++ b/drivers/bluetooth/hci_intel.c
@@ -869,7 +869,6 @@ static struct platform_driver intel_driv
 	.driver = {
 		.name = "hci_intel",
 		.acpi_match_table = ACPI_PTR(intel_acpi_match),
-		.owner = THIS_MODULE,
 	},
 };
 

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

only message in thread, other threads:[~2015-08-27 16:38 UTC | newest]

Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
     [not found] <201508280038.dKhX3DnU%fengguang.wu@intel.com>
2015-08-27 16:40 ` [PATCH] Bluetooth: hci_intel: fix platform_no_drv_owner.cocci warnings kbuild test robot

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox