From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Date: Fri, 28 Aug 2015 00:40:40 +0800 From: kbuild test robot To: Loic Poulain Cc: kbuild-all@01.org, Marcel Holtmann , linux-bluetooth@vger.kernel.org, Gustavo Padovan , Johan Hedberg , linux-kernel@vger.kernel.org Subject: [PATCH] Bluetooth: hci_intel: fix platform_no_drv_owner.cocci warnings Message-ID: <20150827164040.GA31812@lkp-ib03> References: <201508280038.dKhX3DnU%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii In-Reply-To: <201508280038.dKhX3DnU%fengguang.wu@intel.com> List-ID: 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 Signed-off-by: Fengguang Wu --- 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, }, };