From patchwork Wed Jul 27 14:41:16 2016 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Julia Lawall X-Patchwork-Id: 9249911 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 48E50607F0 for ; Wed, 27 Jul 2016 14:41:25 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id 3AB66212D9 for ; Wed, 27 Jul 2016 14:41:25 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id 2EADC26D08; Wed, 27 Jul 2016 14:41:25 +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 18E81212D9 for ; Wed, 27 Jul 2016 14:41:24 +0000 (UTC) Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755978AbcG0OlX (ORCPT ); Wed, 27 Jul 2016 10:41:23 -0400 Received: from mail3-relais-sop.national.inria.fr ([192.134.164.104]:10249 "EHLO mail3-relais-sop.national.inria.fr" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1754882AbcG0OlW (ORCPT ); Wed, 27 Jul 2016 10:41:22 -0400 X-IronPort-AV: E=Sophos;i="5.28,430,1464645600"; d="scan'208";a="186113768" Received: from vaio-julia.rsr.lip6.fr ([132.227.76.33]) by mail3-relais-sop.national.inria.fr with ESMTP/TLS/DHE-RSA-AES256-SHA; 27 Jul 2016 16:41:19 +0200 Date: Wed, 27 Jul 2016 16:41:16 +0200 (CEST) From: Julia Lawall X-X-Sender: jll@hadrien To: Michal Simek , Dan Williams , Vinod Koul , =?ISO-8859-15?Q?S=F6ren_Brinkmann?= , Hyun Kwon cc: kbuild-all@01.org, linux-arm-kernel@lists.infradead.org, dmaengine@vger.kernel.org, linux-kernel@vger.kernel.org Subject: [PATCH] fix platform_no_drv_owner.cocci warnings Message-ID: User-Agent: Alpine 2.10 (DEB 1266 2009-07-14) MIME-Version: 1.0 Sender: dmaengine-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: dmaengine@vger.kernel.org X-Virus-Scanned: ClamAV using ClamSMTP No need to set .owner here. The core will do it. Generated by: scripts/coccinelle/api/platform_no_drv_owner.cocci Signed-off-by: Julia Lawall Signed-off-by: Fengguang Wu --- xilinx_dpdma.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/xilinx/xilinx_dpdma.c +++ b/drivers/dma/xilinx/xilinx_dpdma.c @@ -1944,7 +1944,6 @@ static struct platform_driver xilinx_dpd .remove = xilinx_dpdma_remove, .driver = { .name = "xilinx-dpdma", - .owner = THIS_MODULE, .of_match_table = xilinx_dpdma_of_match, }, };