From patchwork Mon Feb 15 09:34:20 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: 8312161 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork1.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork1.web.kernel.org (Postfix) with ESMTP id 32FB79F372 for ; Mon, 15 Feb 2016 09:45:49 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 6B76A2041B for ; Mon, 15 Feb 2016 09:45:48 +0000 (UTC) Received: from bombadil.infradead.org (unknown [198.137.202.9]) (using TLSv1.2 with cipher AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by mail.kernel.org (Postfix) with ESMTPS id 9067C202F8 for ; Mon, 15 Feb 2016 09:45:47 +0000 (UTC) Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aVFZm-0005xc-1u; Mon, 15 Feb 2016 09:36:14 +0000 Received: from mga09.intel.com ([134.134.136.24]) by bombadil.infradead.org with esmtp (Exim 4.80.1 #2 (Red Hat Linux)) id 1aVFZR-0005KU-QX for linux-arm-kernel@lists.infradead.org; Mon, 15 Feb 2016 09:35:54 +0000 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by orsmga102.jf.intel.com with ESMTP; 15 Feb 2016 01:35:33 -0800 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.22,449,1449561600"; d="scan'208";a="885117563" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga001.jf.intel.com with ESMTP; 15 Feb 2016 01:35:30 -0800 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1aVFYx-000BkY-Cw; Mon, 15 Feb 2016 17:35:23 +0800 Date: Mon, 15 Feb 2016 17:34:20 +0800 From: kbuild test robot To: Thomas Petazzoni Subject: [PATCH] dma: mv_xor_v2: fix platform_no_drv_owner.cocci warnings Message-ID: <20160215093420.GA124287@roam> References: <201602151750.ChNRB1qR%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1455523083-25506-1-git-send-email-thomas.petazzoni@free-electrons.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-20160215_013553_940505_F8863A1B X-CRM114-Status: GOOD ( 11.01 ) X-Spam-Score: -6.9 (------) 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 , devicetree@vger.kernel.org, Jason Cooper , Pawel Moll , Ian Campbell , Vinod Koul , Nadav Haklai , Gregory Clement , Lior Amsalem , Rob Herring , Andrew Lunn , kbuild-all@01.org, Kumar Gala , dmaengine@vger.kernel.org, Thomas Petazzoni , linux-arm-kernel@lists.infradead.org, Sebastian Hesselbarth Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Spam-Status: No, score=-3.4 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_MED, RDNS_NONE,UNPARSEABLE_RELAY autolearn=unavailable version=3.3.1 X-Spam-Checker-Version: SpamAssassin 3.3.1 (2010-03-16) on mail.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP drivers/dma/mv_xor_v2.c:870: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: Thomas Petazzoni Signed-off-by: Fengguang Wu --- mv_xor_v2.c | 1 - 1 file changed, 1 deletion(-) --- a/drivers/dma/mv_xor_v2.c +++ b/drivers/dma/mv_xor_v2.c @@ -867,7 +867,6 @@ static struct platform_driver mv_xor_v2_ .probe = mv_xor_v2_probe, .remove = mv_xor_v2_remove, .driver = { - .owner = THIS_MODULE, .name = "mv_xor_v2", .of_match_table = of_match_ptr(mv_xor_v2_dt_ids), },