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: 8312091 Return-Path: X-Original-To: patchwork-dmaengine@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 8C78D9F399 for ; Mon, 15 Feb 2016 09:35:39 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id ADE7F2051C for ; Mon, 15 Feb 2016 09:35:38 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id B0FCC204DE for ; Mon, 15 Feb 2016 09:35:37 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752276AbcBOJff (ORCPT ); Mon, 15 Feb 2016 04:35:35 -0500 Received: from mga09.intel.com ([134.134.136.24]:1652 "EHLO mga09.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752459AbcBOJfd (ORCPT ); Mon, 15 Feb 2016 04:35:33 -0500 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 Cc: kbuild-all@01.org, Vinod Koul , dmaengine@vger.kernel.org, devicetree@vger.kernel.org, Rob Herring , Ian Campbell , Pawel Moll , Mark Rutland , Kumar Gala , Jason Cooper , Andrew Lunn , Sebastian Hesselbarth , Gregory Clement , Nadav Haklai , Lior Amsalem , linux-arm-kernel@lists.infradead.org, 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 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Spam-Status: No, score=-6.9 required=5.0 tests=BAYES_00, RCVD_IN_DNSWL_HI, RP_MATCHES_RCVD, 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(-) -- 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/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), },