From patchwork Sat Apr 11 18:18:34 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fengguang Wu X-Patchwork-Id: 6201701 Return-Path: X-Original-To: patchwork-dmaengine@patchwork.kernel.org Delivered-To: patchwork-parsemail@patchwork2.web.kernel.org Received: from mail.kernel.org (mail.kernel.org [198.145.29.136]) by patchwork2.web.kernel.org (Postfix) with ESMTP id D13CBBF4A6 for ; Sat, 11 Apr 2015 18:19:23 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 274442021B for ; Sat, 11 Apr 2015 18:19:23 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 3D02C2021A for ; Sat, 11 Apr 2015 18:19:22 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755373AbbDKSTG (ORCPT ); Sat, 11 Apr 2015 14:19:06 -0400 Received: from mga01.intel.com ([192.55.52.88]:58835 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752650AbbDKSTF (ORCPT ); Sat, 11 Apr 2015 14:19:05 -0400 Received: from fmsmga002.fm.intel.com ([10.253.24.26]) by fmsmga101.fm.intel.com with ESMTP; 11 Apr 2015 11:19:04 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.11,562,1422950400"; d="scan'208";a="707424681" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by fmsmga002.fm.intel.com with ESMTP; 11 Apr 2015 11:19:03 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1Ygzzi-0003PQ-5q; Sun, 12 Apr 2015 02:19:02 +0800 Date: Sun, 12 Apr 2015 02:18:34 +0800 From: kbuild test robot To: Rameshwar Prasad Sahu Cc: kbuild-all@01.org, Vinod Koul , Loc Ho , Dan Williams , dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dmaengine: fix platform_no_drv_owner.cocci warnings Message-ID: <20150411181834.GA151741@athens> References: <201504120230.e8de6v3t%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <201504120230.e8de6v3t%fengguang.wu@intel.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, T_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/xgene-dma.c:2079: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: Rameshwar Prasad Sahu Signed-off-by: Fengguang Wu --- xgene-dma.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/xgene-dma.c +++ b/drivers/dma/xgene-dma.c @@ -2076,7 +2076,6 @@ static struct platform_driver xgene_dma_ .remove = xgene_dma_remove, .driver = { .name = "X-Gene-DMA", - .owner = THIS_MODULE, .of_match_table = xgene_dma_of_match_ptr, }, };