From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752660AbbH0QiA (ORCPT ); Thu, 27 Aug 2015 12:38:00 -0400 Received: from mga01.intel.com ([192.55.52.88]:46010 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751906AbbH0Qh7 (ORCPT ); Thu, 27 Aug 2015 12:37:59 -0400 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.17,422,1437462000"; d="scan'208";a="792127581" 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 Content-Disposition: inline In-Reply-To: <201508280038.dKhX3DnU%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-SA-Exim-Connect-IP: X-SA-Exim-Mail-From: fengguang.wu@intel.com X-SA-Exim-Scanned: No (on bee); SAEximRunCond expanded to false Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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, }, };