[<prev] [next>] [day] [month] [year] [list]
Message-ID: <20150827164040.GA31812@lkp-ib03>
Date: Fri, 28 Aug 2015 00:40:40 +0800
From: kbuild test robot <fengguang.wu@...el.com>
To: Loic Poulain <loic.poulain@...el.com>
Cc: kbuild-all@...org, Marcel Holtmann <marcel@...tmann.org>,
linux-bluetooth@...r.kernel.org,
Gustavo Padovan <gustavo@...ovan.org>,
Johan Hedberg <johan.hedberg@...il.com>,
linux-kernel@...r.kernel.org
Subject: [PATCH] Bluetooth: hci_intel: fix platform_no_drv_owner.cocci
warnings
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@...el.com>
Signed-off-by: Fengguang Wu <fengguang.wu@...el.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@...r.kernel.org
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/
Powered by blists - more mailing lists