From patchwork Tue Jun 6 05:59:25 2017 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Chen-Yu Tsai X-Patchwork-Id: 9768053 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 F33066035D for ; Tue, 6 Jun 2017 06:00:42 +0000 (UTC) Received: from mail.wl.linuxfoundation.org (localhost [127.0.0.1]) by mail.wl.linuxfoundation.org (Postfix) with ESMTP id E7AED28429 for ; Tue, 6 Jun 2017 06:00:42 +0000 (UTC) Received: by mail.wl.linuxfoundation.org (Postfix, from userid 486) id DBCCB28437; Tue, 6 Jun 2017 06:00:42 +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=-1.9 required=2.0 tests=BAYES_00,DKIM_SIGNED, DKIM_VALID autolearn=ham version=3.3.1 Received: from bombadil.infradead.org (bombadil.infradead.org [65.50.211.133]) (using TLSv1.2 with cipher AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.wl.linuxfoundation.org (Postfix) with ESMTPS id 6EBAD28445 for ; Tue, 6 Jun 2017 06:00:42 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=lists.infradead.org; s=bombadil.20170209; h=Sender: Content-Transfer-Encoding:Content-Type:MIME-Version:Cc:List-Subscribe: List-Help:List-Post:List-Archive:List-Unsubscribe:List-Id:References: In-Reply-To:Message-Id:Date:Subject:To:From:Reply-To:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Owner; bh=QSKG+NLXuCkhMIS/gJaaTCASZUNJhTaaT+qkefdMfbE=; b=uHAkQWnxEHhYWsmGkoLH9dsS+6 FzqivrMEei5MbWwhon2xFAS/su4li95cVCqAfZJUGSE/YYiV+rZVTekmY7AZdjsXqBbLU1aEa3ZK9 kBuXiImdbrES9S1ufAO7JYjQ9jD+arjM0B2wLB+lieeBU5Wk3vFGvoAE/htuEDNPxY1PNPb3ZTwFG g0SH18NEPN9/PvhmEHs4goSGXY3A8c0rG77dBXPDJgrLUuwLGC01N520yM+1uGMvtTFQLu+2WZ8Ag 4xp+G2eZQoGZzgIT06xcNtS85COZnog6P/jzd/Qs3IKgXDoPSzrgzF+Q5LMdyy/m4zNECjf5fTK4L I10uPinQ==; Received: from localhost ([127.0.0.1] helo=bombadil.infradead.org) by bombadil.infradead.org with esmtp (Exim 4.87 #1 (Red Hat Linux)) id 1dI7Xk-0001tH-HA; Tue, 06 Jun 2017 06:00:40 +0000 Received: from mirror2.csie.ntu.edu.tw ([140.112.30.76] helo=wens.csie.org) by bombadil.infradead.org with esmtps (Exim 4.87 #1 (Red Hat Linux)) id 1dI7XA-0008Pv-KO for linux-arm-kernel@lists.infradead.org; Tue, 06 Jun 2017 06:00:09 +0000 Received: by wens.csie.org (Postfix, from userid 1000) id DA9A65FF34; Tue, 6 Jun 2017 13:59:36 +0800 (CST) From: Chen-Yu Tsai To: Maxime Ripard , Thomas Gleixner , Jason Cooper , Marc Zyngier , Rob Herring , Mark Rutland Subject: [PATCH 03/10] irqchip: sunxi-nmi: Reorder sunxi_sc_nmi_reg_offs' in ascending order Date: Tue, 6 Jun 2017 13:59:25 +0800 Message-Id: <20170606055932.22548-4-wens@csie.org> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20170606055932.22548-1-wens@csie.org> References: <20170606055932.22548-1-wens@csie.org> X-CRM114-Version: 20100106-BlameMichelson ( TRE 0.8.0 (BSD) ) MR-646709E3 X-CRM114-CacheID: sfid-20170605_230004_929395_FBE2E07E X-CRM114-Status: UNSURE ( 8.77 ) X-CRM114-Notice: Please train this message. X-BeenThere: linux-arm-kernel@lists.infradead.org X-Mailman-Version: 2.1.21 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Cc: devicetree@vger.kernel.org, Chen-Yu Tsai , linux-kernel@vger.kernel.org, linux-arm-kernel@lists.infradead.org, Icenowy Zheng MIME-Version: 1.0 Sender: "linux-arm-kernel" Errors-To: linux-arm-kernel-bounces+patchwork-linux-arm=patchwork.kernel.org@lists.infradead.org X-Virus-Scanned: ClamAV using ClamSMTP This is a pure code move to reorder the various sunxi_sc_nmi_reg_offs' by family and alphabetical order. No functionality changes. Signed-off-by: Chen-Yu Tsai --- drivers/irqchip/irq-sunxi-nmi.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) diff --git a/drivers/irqchip/irq-sunxi-nmi.c b/drivers/irqchip/irq-sunxi-nmi.c index 9a7f6971cc3a..76f2431b6b7b 100644 --- a/drivers/irqchip/irq-sunxi-nmi.c +++ b/drivers/irqchip/irq-sunxi-nmi.c @@ -52,18 +52,18 @@ struct sunxi_sc_nmi_reg_offs { u32 enable; }; -static struct sunxi_sc_nmi_reg_offs sun7i_reg_offs = { - .ctrl = SUN7I_NMI_CTRL, - .pend = SUN7I_NMI_PENDING, - .enable = SUN7I_NMI_ENABLE, -}; - static struct sunxi_sc_nmi_reg_offs sun6i_reg_offs = { .ctrl = SUN6I_NMI_CTRL, .pend = SUN6I_NMI_PENDING, .enable = SUN6I_NMI_ENABLE, }; +static struct sunxi_sc_nmi_reg_offs sun7i_reg_offs = { + .ctrl = SUN7I_NMI_CTRL, + .pend = SUN7I_NMI_PENDING, + .enable = SUN7I_NMI_ENABLE, +}; + static struct sunxi_sc_nmi_reg_offs sun9i_reg_offs = { .ctrl = SUN9I_NMI_CTRL, .pend = SUN9I_NMI_PENDING,