Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]
Groups > linux.kernel > #1214687
| From | kbuild test robot <fengguang.wu@intel.com> |
|---|---|
| Newsgroups | linux.kernel |
| Subject | [PATCH] Bluetooth: hci_intel: fix platform_no_drv_owner.cocci warnings |
| Date | 2015-08-27 18:40 +0200 |
| Message-ID | <q28nw-1vy-23@gated-at.bofh.it> (permalink) |
| References | <q28nw-1vy-25@gated-at.bofh.it> |
| Organization | linux.* mail to news gateway |
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/
Back to linux.kernel | Previous | Next | Find similar | Unroll thread
[PATCH] Bluetooth: hci_intel: fix platform_no_drv_owner.cocci warnings kbuild test robot <fengguang.wu@intel.com> - 2015-08-27 18:40 +0200
csiph-web