From patchwork Sat Feb 2 14:44:05 2013 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Alexandre Courbot X-Patchwork-Id: 2084161 Return-Path: X-Original-To: patchwork-linux-arm@patchwork.kernel.org Delivered-To: patchwork-process-083081@patchwork2.kernel.org Received: from merlin.infradead.org (merlin.infradead.org [205.233.59.134]) by patchwork2.kernel.org (Postfix) with ESMTP id 0E975DFE76 for ; Sat, 2 Feb 2013 14:44:27 +0000 (UTC) Received: from localhost ([::1] helo=merlin.infradead.org) by merlin.infradead.org with esmtp (Exim 4.76 #1 (Red Hat Linux)) id 1U1eIH-0005On-Ln; Sat, 02 Feb 2013 14:42:13 +0000 Received: from mail-pa0-f49.google.com ([209.85.220.49]) by merlin.infradead.org with esmtps (Exim 4.76 #1 (Red Hat Linux)) id 1U1eI8-0005LU-11 for linux-arm-kernel@lists.infradead.org; Sat, 02 Feb 2013 14:42:05 +0000 Received: by mail-pa0-f49.google.com with SMTP id kp6so624092pab.8 for ; Sat, 02 Feb 2013 06:42:02 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20120113; h=x-received:sender:from:to:cc:subject:date:message-id:x-mailer :in-reply-to:references; bh=MDFpobseF1ih7G16tYXlo4GSWd3hloBn2gozuYqwvSg=; b=RY70AYCXPrsHGU70S7c9VZYIobfnAC1RzS9aZHHeuqXf59kHJ5GjTM9RdIieci9RTK 4YBds6sETZnnxpSPNQjJcuAbb0JB8cBkLDPmtKz01vpfUinRMFA8HremQL0Px5fw874A JE9jmeU1gKPPe8S7yGe7NQ5vZJa6sZ0VUhjug4YyjiMO4Xelot+A7zp4JdRqMPwqq9Ej kKQTYU3NKr81x0/3eKBmg+GXYEJ4EdcZtJQazcy2UcqnY3oH8YIaIDVxUEatd7QXh4pS 4ZgWmPOQFnMYDwYqbQlTkZtMjWKG7+6NCb9Bg4YY3GDLWZgAGyhoV6Su2ZsyleslEjkM ynnA== X-Received: by 10.68.220.197 with SMTP id py5mr40820924pbc.13.1359816122639; Sat, 02 Feb 2013 06:42:02 -0800 (PST) Received: from localhost.localdomain (softbank126010191003.bbtec.net. [126.10.191.3]) by mx.google.com with ESMTPS id wh4sm11892190pbc.18.2013.02.02.06.41.59 (version=TLSv1.1 cipher=ECDHE-RSA-RC4-SHA bits=128/128); Sat, 02 Feb 2013 06:42:01 -0800 (PST) From: Alexandre Courbot To: Dmitry Eremin-Solenikov , Dirk Opfer , Grant Likely , Linus Walleij , Eric Miao , Russell King , Haojian Zhuang , Arnd Bergmann Subject: [PATCH 1/2] arm: pxa: tosa: do not use gpiochip_reserve() Date: Sat, 2 Feb 2013 23:44:05 +0900 Message-Id: <1359816246-3979-2-git-send-email-acourbot@nvidia.com> X-Mailer: git-send-email 1.8.1.1 In-Reply-To: <1359816246-3979-1-git-send-email-acourbot@nvidia.com> References: <1359816246-3979-1-git-send-email-acourbot@nvidia.com> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20130202_094204_178642_639AC342 X-CRM114-Status: GOOD ( 10.73 ) X-Spam-Score: 0.4 (/) X-Spam-Report: SpamAssassin version 3.3.2 on merlin.infradead.org summary: Content analysis details: (0.4 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.220.49 listed in list.dnswl.org] 3.0 KHOP_BIG_TO_CC Sent to 10+ recipients instaed of Bcc or a list 0.0 FREEMAIL_FROM Sender email is commonly abused enduser mail provider (gnurou[at]gmail.com) -0.0 SPF_PASS SPF: sender matches SPF record -1.9 BAYES_00 BODY: Bayes spam probability is 0 to 1% [score: 0.0000] 0.1 DKIM_SIGNED Message has a DKIM or DK signature, not necessarily valid -0.1 DKIM_VALID Message has at least one valid DKIM or DK signature Cc: linux-arch@vger.kernel.org, gnurou@gmail.com, Alexandre Courbot , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , MIME-Version: 1.0 Sender: linux-arm-kernel-bounces@lists.infradead.org Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org GPIO address space reservation during early platform initialization is not needed anymore for Tosa. Remove the calls to gpiochip_reserve() which is due to be removed. Signed-off-by: Alexandre Courbot Acked-by: Haojian Zhuang --- arch/arm/mach-pxa/tosa.c | 6 ------ 1 file changed, 6 deletions(-) diff --git a/arch/arm/mach-pxa/tosa.c b/arch/arm/mach-pxa/tosa.c index 9e7998d..3d91d2e 100644 --- a/arch/arm/mach-pxa/tosa.c +++ b/arch/arm/mach-pxa/tosa.c @@ -927,8 +927,6 @@ static void tosa_restart(char mode, const char *cmd) static void __init tosa_init(void) { - int dummy; - pxa2xx_mfp_config(ARRAY_AND_SIZE(tosa_pin_config)); pxa_set_ffuart_info(NULL); @@ -947,10 +945,6 @@ static void __init tosa_init(void) /* enable batt_fault */ PMCR = 0x01; - dummy = gpiochip_reserve(TOSA_SCOOP_GPIO_BASE, 12); - dummy = gpiochip_reserve(TOSA_SCOOP_JC_GPIO_BASE, 12); - dummy = gpiochip_reserve(TOSA_TC6393XB_GPIO_BASE, 16); - pxa_set_mci_info(&tosa_mci_platform_data); pxa_set_ficp_info(&tosa_ficp_platform_data); pxa_set_i2c_info(NULL);