From patchwork Thu May 14 16:13:45 2015 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Linus Walleij X-Patchwork-Id: 48524 Return-Path: X-Original-To: linaro@patches.linaro.org Delivered-To: linaro@patches.linaro.org Received: from mail-wi0-f199.google.com (mail-wi0-f199.google.com [209.85.212.199]) by ip-10-151-82-157.ec2.internal (Postfix) with ESMTPS id 2FA4B21411 for ; Thu, 14 May 2015 16:23:16 +0000 (UTC) Received: by wizk4 with SMTP id k4sf24426981wiz.2 for ; Thu, 14 May 2015 09:23:14 -0700 (PDT) X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20130820; h=x-gm-message-state:delivered-to:from:to:subject:date:message-id:cc :precedence:list-id:list-unsubscribe:list-archive:list-post :list-help:list-subscribe:mime-version:content-type :content-transfer-encoding:sender:errors-to:x-original-sender :x-original-authentication-results:mailing-list; bh=WlJ3e4xBPAbdX5tqtKLkwPE/w1M2KgD8IOiQzaUFCME=; b=CW0Qr6WveuwZb0lvI1P8Wfu0z448vCfmX2iZJ7W5j2lwRtfBihS5s1vUK4LWF7eZMn ov1e16epgZrwNJ8eNSVh2APTDTUCpoj9oH2yGqXA8I8/CfOJgquTqAK0EEWPSl2pn3nu wxnVBICSDDcOC9nks8lzz91Hw08t2eAr05sjImFR9awtFfRfUBOxUUwT9n7KPgAlSTtF nO/gd/67HqBRPFCmJklgVoH/MZ3EozxokCypPthIR7byvygEhNhUpBAEbaYCgZ0cv8NY 5pyd/Ecu0Zy21Wq4FfjNUpKjcd77fMgeZKk7M7wIk9YqGtOkfsww/DkM2boFnpJMk6Uh AVQw== X-Gm-Message-State: ALoCoQkqE1lc1D6cYERihUZX+JtaxcjHO6Uf3MMuJjGU4ybVE+fRcrpqmP01Cm2qE1qVhgg9IiWN X-Received: by 10.112.51.68 with SMTP id i4mr3521375lbo.13.1431620594387; Thu, 14 May 2015 09:23:14 -0700 (PDT) X-BeenThere: patchwork-forward@linaro.org Received: by 10.152.204.168 with SMTP id kz8ls355710lac.105.gmail; Thu, 14 May 2015 09:23:14 -0700 (PDT) X-Received: by 10.112.125.33 with SMTP id mn1mr3801399lbb.82.1431620594180; Thu, 14 May 2015 09:23:14 -0700 (PDT) Received: from mail-la0-f49.google.com (mail-la0-f49.google.com. [209.85.215.49]) by mx.google.com with ESMTPS id pa8si14864729lbb.88.2015.05.14.09.23.14 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 09:23:14 -0700 (PDT) Received-SPF: pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) client-ip=209.85.215.49; Received: by lagv1 with SMTP id v1so75322715lag.3 for ; Thu, 14 May 2015 09:23:14 -0700 (PDT) X-Received: by 10.112.204.72 with SMTP id kw8mr3832047lbc.88.1431620594077; Thu, 14 May 2015 09:23:14 -0700 (PDT) X-Forwarded-To: patchwork-forward@linaro.org X-Forwarded-For: patch@linaro.org patchwork-forward@linaro.org Delivered-To: patch@linaro.org Received: by 10.112.108.230 with SMTP id hn6csp1382823lbb; Thu, 14 May 2015 09:23:13 -0700 (PDT) X-Received: by 10.66.236.167 with SMTP id uv7mr9540544pac.58.1431620592387; Thu, 14 May 2015 09:23:12 -0700 (PDT) Received: from bombadil.infradead.org (bombadil.infradead.org. [2001:1868:205::9]) by mx.google.com with ESMTPS id lu16si33178888pab.77.2015.05.14.09.23.11 for (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 09:23:12 -0700 (PDT) Received-SPF: none (google.com: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org does not designate permitted sender hosts) client-ip=2001:1868:205::9; 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 1YsvsZ-0004Zb-EB; Thu, 14 May 2015 16:20:59 +0000 Received: from mail-la0-f42.google.com ([209.85.215.42]) by bombadil.infradead.org with esmtps (Exim 4.80.1 #2 (Red Hat Linux)) id 1Ysvm0-00064Y-UU for linux-arm-kernel@lists.infradead.org; Thu, 14 May 2015 16:14:13 +0000 Received: by labbd9 with SMTP id bd9so75058420lab.2 for ; Thu, 14 May 2015 09:13:49 -0700 (PDT) X-Received: by 10.112.189.102 with SMTP id gh6mr3718220lbc.115.1431620029207; Thu, 14 May 2015 09:13:49 -0700 (PDT) Received: from localhost.localdomain ([85.235.11.236]) by mx.google.com with ESMTPSA id lf12sm6252234lac.38.2015.05.14.09.13.47 (version=TLSv1.2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Thu, 14 May 2015 09:13:48 -0700 (PDT) From: Linus Walleij To: linux-arm-kernel@lists.infradead.org Subject: [PATCH 09/10] ARM: ux500: rename ux500_map_io Date: Thu, 14 May 2015 18:13:45 +0200 Message-Id: <1431620025-15174-1-git-send-email-linus.walleij@linaro.org> X-Mailer: git-send-email 1.9.3 X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20150514_091413_220354_23B9730E X-CRM114-Status: GOOD ( 14.75 ) X-Spam-Score: -0.7 (/) X-Spam-Report: SpamAssassin version 3.4.0 on bombadil.infradead.org summary: Content analysis details: (-0.7 points) pts rule name description ---- ---------------------- -------------------------------------------------- -0.7 RCVD_IN_DNSWL_LOW RBL: Sender listed at http://www.dnswl.org/, low trust [209.85.215.42 listed in list.dnswl.org] -0.0 RCVD_IN_MSPIKE_H3 RBL: Good reputation (+3) [209.85.215.42 listed in wl.mailspike.net] -0.0 SPF_PASS SPF: sender matches SPF record -0.0 RCVD_IN_MSPIKE_WL Mailspike good senders Cc: Linus Walleij X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.18-1 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: , List-Help: , List-Subscribe: , MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patch=linaro.org@lists.infradead.org X-Removed-Original-Auth: Dkim didn't pass. X-Original-Sender: linus.walleij@linaro.org X-Original-Authentication-Results: mx.google.com; spf=pass (google.com: domain of patch+caf_=patchwork-forward=linaro.org@linaro.org designates 209.85.215.49 as permitted sender) smtp.mail=patch+caf_=patchwork-forward=linaro.org@linaro.org Mailing-list: list patchwork-forward@linaro.org; contact patchwork-forward+owners@linaro.org X-Google-Group-Id: 836684582541 This function is not mapping any I/O other than for probing the chip ID. Rename it to make the function graspable. Signed-off-by: Linus Walleij --- arch/arm/mach-ux500/cpu-db8500.c | 2 +- arch/arm/mach-ux500/id.c | 2 +- arch/arm/mach-ux500/setup.h | 2 +- 3 files changed, 3 insertions(+), 3 deletions(-) diff --git a/arch/arm/mach-ux500/cpu-db8500.c b/arch/arm/mach-ux500/cpu-db8500.c index d9359d7b80d7..16913800bbf9 100644 --- a/arch/arm/mach-ux500/cpu-db8500.c +++ b/arch/arm/mach-ux500/cpu-db8500.c @@ -46,7 +46,7 @@ static struct prcmu_pdata db8500_prcmu_pdata = { static void __init u8500_map_io(void) { debug_ll_io_init(); - ux500_map_io(); + ux500_setup_id(); } /* diff --git a/arch/arm/mach-ux500/id.c b/arch/arm/mach-ux500/id.c index 392f2fdb37d0..1e81e990044b 100644 --- a/arch/arm/mach-ux500/id.c +++ b/arch/arm/mach-ux500/id.c @@ -72,7 +72,7 @@ static unsigned int partnumber(unsigned int asicid) * DB9540 0x413fc090 0xFFFFDBF4 0x009540xx */ -void __init ux500_map_io(void) +void __init ux500_setup_id(void) { unsigned int cpuid = read_cpuid_id(); unsigned int asicid = 0; diff --git a/arch/arm/mach-ux500/setup.h b/arch/arm/mach-ux500/setup.h index 2dea8b59d222..cf5a8736ea9d 100644 --- a/arch/arm/mach-ux500/setup.h +++ b/arch/arm/mach-ux500/setup.h @@ -18,7 +18,7 @@ void ux500_restart(enum reboot_mode mode, const char *cmd); -void __init ux500_map_io(void); +void __init ux500_setup_id(void); extern void __init ux500_init_irq(void);