Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1214687 > unrolled thread

[PATCH] Bluetooth: hci_intel: fix platform_no_drv_owner.cocci warnings

Started bykbuild test robot <fengguang.wu@intel.com>
First post2015-08-27 18:40 +0200
Last post2015-08-27 18:40 +0200
Articles 1 — 1 participant

Back to article view | Back to linux.kernel

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  [PATCH] Bluetooth: hci_intel: fix platform_no_drv_owner.cocci  warnings kbuild test robot <fengguang.wu@intel.com> - 2015-08-27 18:40 +0200

#1214687 — [PATCH] Bluetooth: hci_intel: fix platform_no_drv_owner.cocci warnings

Fromkbuild test robot <fengguang.wu@intel.com>
Date2015-08-27 18:40 +0200
Subject[PATCH] Bluetooth: hci_intel: fix platform_no_drv_owner.cocci warnings
Message-ID<q28nw-1vy-23@gated-at.bofh.it>
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,
 	},
 };
 
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@vger.kernel.org
More majordomo info at  http://vger.kernel.org/majordomo-info.html
Please read the FAQ at  http://www.tux.org/lkml/

[toc] | [standalone]


Back to top | Article view | linux.kernel


csiph-web