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: 9295559 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 E30E860757 for ; Tue, 23 Aug 2016 12:13:08 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id D4C0828C21 for ; Tue, 23 Aug 2016 12:13:08 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id C8A0328C2D; Tue, 23 Aug 2016 12:13:08 +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=-6.9 required=2.0 tests=BAYES_00,RCVD_IN_DNSWL_HI autolearn=ham version=3.3.1 Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 5395C28C21 for ; Tue, 23 Aug 2016 12:13:08 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1757351AbcHWMNH (ORCPT ); Tue, 23 Aug 2016 08:13:07 -0400 Received: from mga06.intel.com ([134.134.136.31]:1753 "EHLO mga06.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753187AbcHWMNH (ORCPT ); Tue, 23 Aug 2016 08:13:07 -0400 Received: from orsmga004.jf.intel.com ([10.7.209.38]) by orsmga104.jf.intel.com with ESMTP; 23 Aug 2016 05:13:06 -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 Cc: kbuild-all@01.org, vinod.koul@intel.com, robh+dt@kernel.org, dan.j.williams@intel.com, mark.rutland@arm.com, linux@armlinux.org.uk, shawnguo@kernel.org, leoyang.li@nxp.com, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, 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 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.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(-) -- To unsubscribe from this list: send the line "unsubscribe dmaengine" in the body of a message to majordomo@vger.kernel.org More majordomo info at http://vger.kernel.org/majordomo-info.html --- 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,