From patchwork Wed Feb 15 16:53:14 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 9574449 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork.web.codeaurora.org (Postfix) with ESMTP id 3191C60493 for ; Wed, 15 Feb 2017 16:54:50 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 2A3FE27FAE for ; Wed, 15 Feb 2017 16:54:50 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 1F0DF284CB; Wed, 15 Feb 2017 16:54:50 +0000 (UTC) X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on pdx-wl-mail.web.codeaurora.org X-Spam-Level: X-Spam-Status: No, score=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id B26AD2849A for ; Wed, 15 Feb 2017 16:54:49 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:Cc:List-Subscribe:List-Help:List-Post: List-Archive:List-Unsubscribe:List-Id:In-Reply-To:MIME-Version:References: Message-ID:Subject:To:From:Date:Reply-To:Content-ID:Content-Description: Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc:Resent-Message-ID: List-Owner; bh=fTNAjdb09wyA8GVrwNbQjG4elnH8oTCNYOnZg7SVzvw=; b=jcXxNANxvl/Sfs adtjV7txkvbliNWtrFHZbVjQF4Ftrh2vwGEeY1mWUtXOOL46J6IkyMxYP4YQoFLRIdhZ80dK/t50R hU7Gusx6ltjLh89FlSRkxoo3HElShJGJcsbYo3qRzmrIGTmOw2tub+0VcAZ8+252EpIhV+I2ha94f hueT5ML5NT85ur/CpHvfcyHJGFvjihm9XA2AQ/jdhM3dN/6xasRyL31xIQ7GYSwgnLvKmNnDpBPBL 9UL4IX0v4JxRVJEGovMK5m8Z174MZfboWVjDD0q71JIFVbiKaz3xwCL1tmAqCg2mPR4ShbRnHdBws J55Md4dCfRg4n7sEcNGQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1ce2qr-0002L1-TC; Wed, 15 Feb 2017 16:54:45 +0000 Received: from mga06.intel.com ([134.134.136.31]) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1ce2qX-00021x-MJ for linux-arm-kernel@lists.infradead.org; Wed, 15 Feb 2017 16:54:28 +0000 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by orsmga104.jf.intel.com with ESMTP; 15 Feb 2017 08:54:04 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos; i="5.35,166,1484035200"; d="scan'208"; a="1127045502" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 15 Feb 2017 08:54:03 -0800 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1ce2sL-0000dp-Q5; Thu, 16 Feb 2017 00:56:17 +0800 Date: Thu, 16 Feb 2017 00:53:14 +0800 From: kbuild test robot To: Eyal Reizer Subject: [PATCH] btwilink: fix platform_no_drv_owner.cocci warnings Message-ID: <20170215165314.GA145757@athens.lkp.intel.com> References: <201702160012.bLzbbwbG%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201702160012.bLzbbwbG%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 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170215_085425_835886_0C794583 X-CRM114-Status: UNSURE ( 9.70 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: Matt Porter , Michal Simek , kbuild-all@01.org, linux-arm-kernel@lists.infradead.org Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/bluetooth/btwilink.c:350: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: Eyal Reizer Signed-off-by: Fengguang Wu --- btwilink.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/bluetooth/btwilink.c +++ b/drivers/bluetooth/btwilink.c @@ -347,7 +347,6 @@ static struct platform_driver btwilink_d .remove = bt_ti_remove, .driver = { .name = "btwilink", - .owner = THIS_MODULE, .of_match_table = of_match_ptr(btwilink_of_match), }, };