From patchwork Sun Dec 30 05:10:38 2018 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 10745055 Return-Path: Received: from mail.wl.linuxfoundation.org (pdx-wl-mail.web.codeaurora.org [172.30.200.125]) by pdx-korg-patchwork-2.web.codeaurora.org (Postfix) with ESMTP id 8365814DE for ; Sun, 30 Dec 2018 05:12:44 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 6318828B35 for ; Sun, 30 Dec 2018 05:12:44 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 53DA828B17; Sun, 30 Dec 2018 05:12:44 +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=-5.2 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID,MAILING_LIST_MULTI,RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.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 0745E28B17 for ; Sun, 30 Dec 2018 05:12:43 +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=gBfKSL7Dh7iYDIF7hTUZYITM3x1XB9W/TLbx8xF3/OY=; b=nsSZlHhddrnyHB ObHdzYeKDT6TYW9UbWYnwIvYQiv3ImSIZGeEr4K+1Yy2yLyd4hHiopdoMY2hJqW6dMAWzveM9Wn4D 2c/TwJaOGDWd+v8xaXCjS8dx16Ipfz3tgQ5taus+1GqRH6FEBjZpH3sXxJEF05xkH2+sRvkFE98lt PNAuuevW1ue3QvKBcdQYdMpa8qiDrapzybWg2Q+B7AeBHIphuA6+WFTy4xYrWfGdEpmfJ0XI2PmFM 8mjoRZExaEWstRdKBdEMiS7yMTc5O6TdnC6rH8LsQRSl1SESuT1HE4O8QPA/K1UE1gdbi+vVU2NJW QdgND3DU8QqE6GNskz/w==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.90_1 #2 (Red Hat Linux)) id 1gdTOy-0004Wu-Px; Sun, 30 Dec 2018 05:12:40 +0000 Received: from mga11.intel.com ([192.55.52.93]) by bombadil.infradead.org with esmtps (Exim 4.90_1 #2 (Red Hat Linux)) id 1gdTOv-0004Vj-2Z for linux-arm-kernel@lists.infradead.org; Sun, 30 Dec 2018 05:12:38 +0000 X-Amp-Result: UNKNOWN X-Amp-Original-Verdict: FILE UNKNOWN X-Amp-File-Uploaded: False Received: from fmsmga004.fm.intel.com ([10.253.24.48]) by fmsmga102.fm.intel.com with ESMTP/TLS/DHE-RSA-AES256-GCM-SHA384; 29 Dec 2018 21:12:24 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.56,416,1539673200"; d="scan'208";a="131616454" Received: from lkp-server01.sh.intel.com (HELO lkp-server01) ([10.239.97.150]) by fmsmga004.fm.intel.com with ESMTP; 29 Dec 2018 21:12:23 -0800 Received: from kbuild by lkp-server01 with local (Exim 4.89) (envelope-from ) id 1gdTOh-000AhL-FL; Sun, 30 Dec 2018 13:12:23 +0800 Date: Sun, 30 Dec 2018 13:10:38 +0800 From: kbuild test robot To: Linus Walleij Subject: [PATCH] fix platform_no_drv_owner.cocci warnings Message-ID: <20181230051038.GA14972@ivb43.lkp.intel.com> References: <201812301340.cMEhlK1Z%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201812301340.cMEhlK1Z%fengguang.wu@intel.com> User-Agent: Mutt/1.5.23 (2014-03-12) X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20181229_211237_124663_6EB06AD1 X-CRM114-Status: GOOD ( 12.34 ) 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: 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 From: kbuild test robot drivers/gpio/gw_i2c_pld.c:351: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 Fixes: 443f1c782cc7 ("GW i2c PLF GPIO") Signed-off-by: kbuild test robot --- tree: https://git.kernel.org/pub/scm/linux/kernel/git/linusw/linux-nomadik.git ixp4 head: fd04bd59327ab42cfa79c1a5aaa3160fc4821402 commit: 443f1c782cc742e40a1ef4cb2bca0afa2fea9baf [4/9] GW i2c PLF GPIO gw_i2c_pld.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/gpio/gw_i2c_pld.c +++ b/drivers/gpio/gw_i2c_pld.c @@ -348,7 +348,6 @@ static int gw_i2c_pld_remove(struct i2c_ static struct i2c_driver gw_i2c_pld_driver = { .driver = { .name = "gw_i2c_pld", - .owner = THIS_MODULE, }, .probe = gw_i2c_pld_probe, .remove = gw_i2c_pld_remove,