From patchwork Tue Aug 23 12:18:04 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 9295565 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 7ED4F60757 for ; Tue, 23 Aug 2016 12:16:17 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 702DB28717 for ; Tue, 23 Aug 2016 12:16:17 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 64FFA28A59; Tue, 23 Aug 2016 12:16:17 +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=-4.2 required=2.0 tests=BAYES_00, RCVD_IN_DNSWL_MED autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id F217828C21 for ; Tue, 23 Aug 2016 12:16:16 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.85_2 #1 (Red Hat Linux)) id 1bcAaE-0007lD-Q6; Tue, 23 Aug 2016 12:13:34 +0000 Received: from mga03.intel.com ([134.134.136.65]) by bombadil.infradead.org with esmtps (Exim 4.85_2 #1 (Red Hat Linux)) id 1bcAa9-0007ic-Uj for linux-arm-kernel@lists.infradead.org; Tue, 23 Aug 2016 12:13:30 +0000 Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga103.jf.intel.com with ESMTP; 23 Aug 2016 05:13:07 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.28,565,1464678000"; d="scan'208";a="868262" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga004.jf.intel.com with ESMTP; 23 Aug 2016 05:13:01 -0700 Received: from kbuild by bee with local (Exim 4.84_2) (envelope-from ) id 1bcAZS-000EF9-Dp; Tue, 23 Aug 2016 20:12:46 +0800 Date: Tue, 23 Aug 2016 20:18:04 +0800 From: kbuild test robot To: Yuan Yao Subject: [PATCH] dma: fix platform_no_drv_owner.cocci warnings Message-ID: <20160823121804.GA80500@lkp-sb04> References: <201608232035.33CTgojc%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1471502328-28305-2-git-send-email-yao.yuan@freescale.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-20160823_051330_040884_190F6E95 X-CRM114-Status: UNSURE ( 8.62 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.20 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: mark.rutland@arm.com, vinod.koul@intel.com, linux-kernel@vger.kernel.org, linux@armlinux.org.uk, leoyang.li@nxp.com, robh+dt@kernel.org, kbuild-all@01.org, dmaengine@vger.kernel.org, dan.j.williams@intel.com, shawnguo@kernel.org, linux-arm-kernel@lists.infradead.org, Yuan Yao 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/dma/qoriq-qdma.c:879: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: Yuan Yao Signed-off-by: Fengguang Wu --- qoriq-qdma.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/dma/qoriq-qdma.c +++ b/drivers/dma/qoriq-qdma.c @@ -876,7 +876,6 @@ MODULE_DEVICE_TABLE(of, fsl_qdma_dt_ids) static struct platform_driver fsl_qdma_driver = { .driver = { .name = "fsl-qdma", - .owner = THIS_MODULE, .of_match_table = fsl_qdma_dt_ids, }, .probe = fsl_qdma_probe,