From patchwork Sat May 9 11:51:23 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Estevam X-Patchwork-Id: 470308 Return-Path: X-Original-To: incoming-imx@patchwork.ozlabs.org Delivered-To: patchwork-incoming-imx@bilbo.ozlabs.org Received: from bombadil.infradead.org (bombadil.infradead.org [IPv6:2001:1868:205::9]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by ozlabs.org (Postfix) with ESMTPS id 3CA521401AB for ; Sat, 9 May 2015 21:54:46 +1000 (AEST) Authentication-Results: ozlabs.org; dkim=fail reason="signature verification failed" (2048-bit key; unprotected) header.d=gmail.com header.i=@gmail.com header.b=lpk7IGpk; dkim-atps=neutral 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 1Yr3Ii-0007uI-Uf; Sat, 09 May 2015 11:52:12 +0000 Received: from mail-yk0-x231.google.com ([2607:f8b0:4002:c07::231]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Yr3If-0007t3-Gd for linux-arm-kernel@lists.infradead.org; Sat, 09 May 2015 11:52:10 +0000 Received: by ykep21 with SMTP id p21so26678598yke.3 for ; Sat, 09 May 2015 04:51:46 -0700 (PDT) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=from:to:cc:subject:date:message-id; bh=ELsmXLp+cnxLmW67a1GzeUpCyOk3MhESQn3VFakjG6M=; b=lpk7IGpkzYoBxUkJzjw+K5R1xeG2W/NYV7+cROq77VrW69xGmupJ/xZ4qfLb4RYm0c 822f1D8KCirfNDzwPjGd2xLDUYW5bAuqXJu7wCKAMgbXdxC3Z463cQv8mCi8uh+qdugc SSasug8H3gjJYPOF8iHnDFbxpK7SD7cVUoDT2PCOYdZii2udrQvkEh3oTF2pktXLB9TZ YEnMMnGqxMRt5rVP0/T+8faaWGLT8zlUo1ShjI1cLrScK8aG/boSTBcpq8Wle2vxyP+g uuUZi39pypOmU9g8nK79RiCQu3RTEDpsKbwj3eAi8jCp3lew7EWbdrfvc6ToE1My8Z/W ke2A== X-Received: by 10.236.70.106 with SMTP id o70mr2272231yhd.136.1431172306755; Sat, 09 May 2015 04:51:46 -0700 (PDT) Received: from localhost.localdomain ([187.64.235.17]) by mx.google.com with ESMTPSA id i40sm6945225yha.20.2015.05.09.04.51.44 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-SHA bits=128/128); Sat, 09 May 2015 04:51:45 -0700 (PDT) From: Fabio Estevam To: shawn.guo@linaro.org Subject: [PATCH] ARM: imx: gpc: Remove .owner field Date: Sat, 9 May 2015 08:51:23 -0300 Message-Id: <1431172283-30853-1-git-send-email-festevam@gmail.com> X-Mailer: git-send-email 1.9.1 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150509_045209_644682_7C5F37E0 X-CRM114-Status: GOOD ( 11.55 ) X-Spam-Score: -0.8 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.8 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [2607:f8b0:4002:c07:0:0:0:231 listed in] [list.dnswl.org] -0.0 SPF_PASS SPF: sender matches SPF record 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (festevam[at]gmail.com) -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature -0.1 DKIM_VALID_AU Message has a valid DKIM or DK signature from author's domain 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid Cc: Fabio Estevam , linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+incoming-imx=patchwork.ozlabs.org@lists.infradead.org List-Id: linux-imx-kernel.lists.patchwork.ozlabs.org From: Fabio Estevam This platform_driver does not need to set an owner as it will be populated by the driver core. The semantic patch that makes this change is available in scripts/coccinelle/api/platform_no_drv_owner.cocci. More information about semantic patching is available at http://coccinelle.lip6.fr/ Signed-off-by: Fabio Estevam --- arch/arm/mach-imx/gpc.c | 1 - 1 file changed, 1 deletion(-) diff --git a/arch/arm/mach-imx/gpc.c b/arch/arm/mach-imx/gpc.c index 4d60005..c478a20 100644 --- a/arch/arm/mach-imx/gpc.c +++ b/arch/arm/mach-imx/gpc.c @@ -464,7 +464,6 @@ static const struct of_device_id imx_gpc_dt_ids[] = { static struct platform_driver imx_gpc_driver = { .driver = { .name = "imx-gpc", - .owner = THIS_MODULE, .of_match_table = imx_gpc_dt_ids, }, .probe = imx_gpc_probe,