Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1752487AbdLKXhD (ORCPT ); Mon, 11 Dec 2017 18:37:03 -0500 Received: from mail-out.m-online.net ([212.18.0.10]:59954 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1752349AbdLKXgt (ORCPT ); Mon, 11 Dec 2017 18:36:49 -0500 X-Auth-Info: IVLD0uDUUwKGKnFy1GUwSdwRPbP2HwypbDig7MBcneA= From: Lukasz Majewski To: Alexander Sverdlin , Arnd Bergmann , arndbergmann@gmail.com, Hartley Sweeten Cc: Russell King , linux-arm-kernel@lists.infradead.org, linux-kernel@vger.kernel.org, Olof Johansson , Linus Walleij , Lukasz Majewski Subject: [PATCH v5 3/4] ARM: ep93xx: ts72xx: cosmetic: Add some description to ts72xx code Date: Tue, 12 Dec 2017 00:36:24 +0100 Message-Id: <20171211233625.5689-4-lukma@denx.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171211233625.5689-1-lukma@denx.de> References: <20171116232239.16823-1-lukma@denx.de> <20171211233625.5689-1-lukma@denx.de> Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org Content-Length: 1500 Lines: 49 This patch extends readability of ts72xx.c code. Signed-off-by: Lukasz Majewski --- Changes for v2: - New patch Changes for v3: - None Changes to v4: - Adjust the code to be applicable to linux-next/master Changes for v5: - None --- arch/arm/mach-ep93xx/ts72xx.c | 9 +++++++++ 1 file changed, 9 insertions(+) diff --git a/arch/arm/mach-ep93xx/ts72xx.c b/arch/arm/mach-ep93xx/ts72xx.c index 141ae4c65a81..17af9d834b51 100644 --- a/arch/arm/mach-ep93xx/ts72xx.c +++ b/arch/arm/mach-ep93xx/ts72xx.c @@ -31,6 +31,9 @@ #include "soc.h" #include "ts72xx.h" +/************************************************************************* + * IO map + *************************************************************************/ static struct map_desc ts72xx_io_desc[] __initdata = { { .virtual = (unsigned long)TS72XX_MODEL_VIRT_BASE, @@ -201,10 +204,16 @@ static struct platform_device ts72xx_wdt_device = { .num_resources = ARRAY_SIZE(ts72xx_wdt_resources), }; +/************************************************************************* + * ETH + *************************************************************************/ static struct ep93xx_eth_data __initdata ts72xx_eth_data = { .phy_id = 1, }; +/************************************************************************* + * TS72XX support code + *************************************************************************/ #if IS_ENABLED(CONFIG_FPGA_MGR_TS73XX) /* Relative to EP93XX_CS1_PHYS_BASE */ -- 2.11.0