From patchwork Fri Oct 30 04:34:08 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: kernel test robot X-Patchwork-Id: 7523671 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 09CDC9FC39 for ; Fri, 30 Oct 2015 04:36:14 +0000 (UTC) Received: from mail.kernel.org (localhost [127.0.0.1]) by mail.kernel.org (Postfix) with ESMTP id 3143C20575 for ; Fri, 30 Oct 2015 04:36:13 +0000 (UTC) Received: from vger.kernel.org (vger.kernel.org [209.132.180.67]) by mail.kernel.org (Postfix) with ESMTP id 2F932205E5 for ; Fri, 30 Oct 2015 04:36:12 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1751703AbbJ3EgD (ORCPT ); Fri, 30 Oct 2015 00:36:03 -0400 Received: from mga01.intel.com ([192.55.52.88]:60157 "EHLO mga01.intel.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751634AbbJ3Efr (ORCPT ); Fri, 30 Oct 2015 00:35:47 -0400 Received: from orsmga001.jf.intel.com ([10.7.209.18]) by fmsmga101.fm.intel.com with ESMTP; 29 Oct 2015 21:35:47 -0700 X-ExtLoop1: 1 X-IronPort-AV: E=Sophos;i="5.20,217,1444719600"; d="scan'208";a="807169651" Received: from bee.sh.intel.com (HELO bee) ([10.239.97.14]) by orsmga001.jf.intel.com with ESMTP; 29 Oct 2015 21:35:44 -0700 Received: from kbuild by bee with local (Exim 4.83) (envelope-from ) id 1Zs1PU-000Vdo-Oi; Fri, 30 Oct 2015 12:35:28 +0800 Date: Fri, 30 Oct 2015 12:34:08 +0800 From: kbuild test robot To: Sinan Kaya Cc: kbuild-all@01.org, dmaengine@vger.kernel.org, timur@codeaurora.org, cov@codeaurora.org, jcm@redhat.com, Sinan Kaya , Rob Herring , Pawel Moll , Mark Rutland , Ian Campbell , Kumar Gala , Vinod Koul , Dan Williams , devicetree@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] dma: fix platform_no_drv_owner.cocci warnings Message-ID: <20151030043408.GA80488@cairo> References: <201510301229.VB4UX8GG%fengguang.wu@intel.com> MIME-Version: 1.0 Content-Disposition: inline In-Reply-To: <1446174501-8870-1-git-send-email-okaya@codeaurora.org> 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/qcom_hidma_mgmt.c:852: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: Sinan Kaya Signed-off-by: Fengguang Wu --- qcom_hidma_mgmt.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/qcom_hidma_mgmt.c +++ b/drivers/dma/qcom_hidma_mgmt.c @@ -849,7 +849,6 @@ static struct platform_driver qcom_hidma .remove = qcom_hidma_mgmt_remove, .driver = { .name = MODULE_NAME, - .owner = THIS_MODULE, .of_match_table = of_match_ptr(qcom_hidma_mgmt_match), .acpi_match_table = ACPI_PTR(qcom_hidma_mgmt_acpi_ids), },