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

From: kbuild test robot
Date: Thu Aug 27 2015 - 12:38:04 EST


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@xxxxxxxxx>
Signed-off-by: Fengguang Wu <fengguang.wu@xxxxxxxxx>
---

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@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/