Received: by 2002:ac0:946b:0:0:0:0:0 with SMTP id j40csp2529611imj; Mon, 11 Feb 2019 04:30:38 -0800 (PST) X-Google-Smtp-Source: AHgI3IYBi9bJ3bgk92anIOg57zKlPL/g5DPR4A5CRI9tLFQqjimKyqz7+Hph6+0w8N9NPbLd/CKj X-Received: by 2002:a63:1616:: with SMTP id w22mr1586857pgl.200.1549888238829; Mon, 11 Feb 2019 04:30:38 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1549888238; cv=none; d=google.com; s=arc-20160816; b=PqjccGYJQFgEOMXrVXgiE20cPG4Wh5XTNichRepQRMTOWeACifOoaX2FWwaFb6phze WtNrsoOrEPsnC/vsqQpgTfm2DYvvHSDWJ+AQcCosL7ZocpElOt1gYYMtHxnhUQ6V+3Zm WTpeUUvlQASvzFAWHQ/PxKe6ZXLSNctqTXLW8TOMjcyLDrWhwoYjewuKomY6wmodYHV7 D4cerA/XPlu/df0pcp2AWW1KB+qzKvJmBNjAYXUZFvoGlZrMO04nAQYFadLtfETmjeiU C9fJ/9D2hWIvOuOUJimd51oSSiJ8aa4YjTOqYVPwPzRzTqXez+YM+pSsTG5dwpNHC2Zr /PFQ== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:content-transfer-encoding:mime-version :references:in-reply-to:message-id:date:subject:cc:to:from :dkim-signature; bh=caGR+xPQP4nJO6Pesj45R1zU4S0+ykorYdgBwjiu6dQ=; b=idGiJVQoaNioOWccZN3r5piXlH+cvOci7xw2meqWTjb4U9y5W85xiOGiEm9OP21av/ grmPafrJCXJVomk0merH/LCzme1RjAJOOk8mFGzTeaZfjoY7RfUWTFqLUyrhUfc0sRwO Dq36nKMg/QSdwgS9TDNWHA8BKR3Vw1K9eX6DLs/ijumHBQquailv48FBKP9VR2TjryMD a2RoHuQTELcgKrhPpbFizoQOGLd8ZlxZS0jXBTX5HzJyhTZ6SKLf879JLVaTQmGF4ky+ 5FHiqV1tQfjg1kPUbgFavTURie9lXt+8favt+f6jnr+keQnLLJ7qzCueUT+D1es3xAYy ZFKg== ARC-Authentication-Results: i=1; mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=LAH3ZTvJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Return-Path: Received: from vger.kernel.org (vger.kernel.org. [209.132.180.67]) by mx.google.com with ESMTP id k20si9739327pls.116.2019.02.11.04.30.22; Mon, 11 Feb 2019 04:30:38 -0800 (PST) Received-SPF: pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) client-ip=209.132.180.67; Authentication-Results: mx.google.com; dkim=pass header.i=@bgdev-pl.20150623.gappssmtp.com header.s=20150623 header.b=LAH3ZTvJ; spf=pass (google.com: best guess record for domain of linux-kernel-owner@vger.kernel.org designates 209.132.180.67 as permitted sender) smtp.mailfrom=linux-kernel-owner@vger.kernel.org Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1727598AbfBKM0d (ORCPT + 99 others); Mon, 11 Feb 2019 07:26:33 -0500 Received: from mail-wm1-f66.google.com ([209.85.128.66]:36254 "EHLO mail-wm1-f66.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1727568AbfBKM0a (ORCPT ); Mon, 11 Feb 2019 07:26:30 -0500 Received: by mail-wm1-f66.google.com with SMTP id j125so2059565wmj.1 for ; Mon, 11 Feb 2019 04:26:29 -0800 (PST) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=bgdev-pl.20150623.gappssmtp.com; s=20150623; h=from:to:cc:subject:date:message-id:in-reply-to:references :mime-version:content-transfer-encoding; bh=caGR+xPQP4nJO6Pesj45R1zU4S0+ykorYdgBwjiu6dQ=; b=LAH3ZTvJcseL493VTuaAsp2SE095lhSFofkx0/5Q0B/QpcDeJsyGr1u+C7FI+exWt2 tUFk80g0PLRTAa8uIvQzIlZjmziUR5sVsoZWjIwKwR8oOv2tkl6Ij0oK4AwtmQoLa335 SDphT1u+IbEfDrSg2fgjuw+/Gfqpnb+IsybRuaMCqVZujlVg0jcaUGpibajEDttinfvw hT39tWFnbLUwXk9Jr2bT7xWGOqI2BkwiG4AjUdIZK0bMOZeTHCe9qkNHFbciD5EPWXSu q80Dz0fyVNZxtOXzYq9VreaSajJajWfft6Bf46RzbnxeE/hP4rAs74aiSjXIXMOazo6o rUOg== X-Google-DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=1e100.net; s=20161025; h=x-gm-message-state:from:to:cc:subject:date:message-id:in-reply-to :references:mime-version:content-transfer-encoding; bh=caGR+xPQP4nJO6Pesj45R1zU4S0+ykorYdgBwjiu6dQ=; b=k3E7DNBlOpJQni0VFfTxYyM6vVqPgHboeMArp4ivZ1UBTfynNOiMCLnXve8cxgL8jy dbf83cNgtsr7vndF3a+aIjCyR3s6TLGRouwLBgZnOrem38/qbo4sn8oVNHzJofn6CnNu AMLet9g8SmYUxyb0vqGuUjTOpZWxUU9cQFnjPgZcQqMHgc7L/NZavVp5vX+OssxiQOnQ XJ6OFBJI2Oq8Yyta2akaKPnFUQxlPMYgWiqTTaE6QiVkpkhtdBdYoJkHs6nFlxUz0CxI Sif6OuOLJAjqbs+PouyXxzn3aSKAhM09CNB67FvbxBseKdMxHwBk7+0LDzbx9p7jP4A7 bLfg== X-Gm-Message-State: AHQUAuYicEB3Txf7xDIlztrqAffWibBB0Fw4/Q8RSIYcpEd6wBxMpBVB 33JnlAeICRVzPd/3zo+nvrrI9g== X-Received: by 2002:a1c:96ce:: with SMTP id y197mr9678759wmd.36.1549887988652; Mon, 11 Feb 2019 04:26:28 -0800 (PST) Received: from debian-brgl.home ([2a01:cb1d:af:5b00:6d6c:8493:1ab5:dad7]) by smtp.gmail.com with ESMTPSA id l20sm19494321wrb.93.2019.02.11.04.26.27 (version=TLS1_2 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128/128); Mon, 11 Feb 2019 04:26:27 -0800 (PST) From: Bartosz Golaszewski To: Sekhar Nori , Kevin Hilman , Thomas Gleixner , Jason Cooper , Marc Zyngier , David Lechner Cc: linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Bartosz Golaszewski Subject: [RESEND PATCH v2 12/33] ARM: davinci: aintc: drop the 00 prefix from register offsets Date: Mon, 11 Feb 2019 13:25:45 +0100 Message-Id: <20190211122606.8662-13-brgl@bgdev.pl> X-Mailer: git-send-email 2.20.1 In-Reply-To: <20190211122606.8662-1-brgl@bgdev.pl> References: <20190211122606.8662-1-brgl@bgdev.pl> MIME-Version: 1.0 Content-Transfer-Encoding: 8bit Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org From: Bartosz Golaszewski Since no offset goes past 0xff - let's drop the 00 prefix for better readability. While we're at it: convert all hex numbers to lower-case. Signed-off-by: Bartosz Golaszewski Reviewed-by: David Lechner --- arch/arm/mach-davinci/irq.c | 22 +++++++++++----------- 1 file changed, 11 insertions(+), 11 deletions(-) diff --git a/arch/arm/mach-davinci/irq.c b/arch/arm/mach-davinci/irq.c index 145fda7e5a35..148c23728bdb 100644 --- a/arch/arm/mach-davinci/irq.c +++ b/arch/arm/mach-davinci/irq.c @@ -19,17 +19,17 @@ #include "irqs.h" -#define DAVINCI_AINTC_FIQ_REG0 0x0000 -#define DAVINCI_AINTC_FIQ_REG1 0x0004 -#define DAVINCI_AINTC_IRQ_REG0 0x0008 -#define DAVINCI_AINTC_IRQ_REG1 0x000C -#define DAVINCI_AINTC_IRQ_IRQENTRY 0x0014 -#define DAVINCI_AINTC_IRQ_ENT_REG0 0x0018 -#define DAVINCI_AINTC_IRQ_ENT_REG1 0x001C -#define DAVINCI_AINTC_IRQ_INCTL_REG 0x0020 -#define DAVINCI_AINTC_IRQ_EABASE_REG 0x0024 -#define DAVINCI_AINTC_IRQ_INTPRI0_REG 0x0030 -#define DAVINCI_AINTC_IRQ_INTPRI7_REG 0x004C +#define DAVINCI_AINTC_FIQ_REG0 0x00 +#define DAVINCI_AINTC_FIQ_REG1 0x04 +#define DAVINCI_AINTC_IRQ_REG0 0x08 +#define DAVINCI_AINTC_IRQ_REG1 0x0c +#define DAVINCI_AINTC_IRQ_IRQENTRY 0x14 +#define DAVINCI_AINTC_IRQ_ENT_REG0 0x18 +#define DAVINCI_AINTC_IRQ_ENT_REG1 0x1c +#define DAVINCI_AINTC_IRQ_INCTL_REG 0x20 +#define DAVINCI_AINTC_IRQ_EABASE_REG 0x24 +#define DAVINCI_AINTC_IRQ_INTPRI0_REG 0x30 +#define DAVINCI_AINTC_IRQ_INTPRI7_REG 0x4c static void __iomem *davinci_aintc_base; static struct irq_domain *davinci_aintc_irq_domain; -- 2.20.1