Received: by 10.223.164.202 with SMTP id h10csp588715wrb; Thu, 30 Nov 2017 15:53:18 -0800 (PST) X-Google-Smtp-Source: AGs4zMbbSHtsDYvz7DX9rd3Nn9XJw9vrI4b/xjoVakJ7uo7m4jDLMKsbEq9ZNxmYh3c17E5Nih4z X-Received: by 10.159.205.130 with SMTP id v2mr4264473plo.105.1512085998751; Thu, 30 Nov 2017 15:53:18 -0800 (PST) ARC-Seal: i=1; a=rsa-sha256; t=1512085998; cv=none; d=google.com; s=arc-20160816; b=ltCQrDP/sdVOcJazI5fB81s880X+m+oSEQtBbY+Cfl7cFp2iE9AN2+dwNVfHuLhGO9 SdWWiIbPOV7/sog7r/mZPAtpEU6/lrF5rZ/15IfNztnTQ4NN3SNdvCopuO+WzrGLRXNr xhJt3mPnJY4voZp7Y8OFXBl391hy3sOME3VCae3ONJGb5wVovJc74YedEn4G4mzfJEsm qlZMvcn+vW80D5s77xPTAdIv9VZs9vTSBVXM1fFRNe6ZA7rsJ3Nu4H+F3zTQLqhyjSED v/cA5NypDF62xhqCe9QcByomZcBA4OYsXTHwowYdwhJcLb0Wq8HUY9SiykeGMnatEafk znCg== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=google.com; s=arc-20160816; h=list-id:precedence:sender:references:in-reply-to:message-id:date :subject:cc:to:from:arc-authentication-results; bh=X4D+ex+lTP5McblAI8k2KlnFfda4LTE2AKRMU6SO3NM=; b=HkSCu3BCOKA9soq6U/Dk/BSYPMTFExo+u37c6N7veTB5VlYqBZ6vNL9LzEDM870s6w 7HDu7ruCQeos2kwM+GAblHUn8PfDzQm1xsajkx3z8XE3VXGHOQtVkhgEUl1IHVN7h3aW qHgaGMR5yzx3/dVzM5hAxhisssZae16Gp0XjzT/LGJaABGgj+qXtipxjyvjdBQJLIw/B VfX/I1lxyB/MRyMYigziYZxFiePLhSqqG9qh87la4S54aG1IU5uPbBS6l8Rqy69Aa1q5 trucWnw6fkQAZ0OvCar/dek9zB/8rT836IH0lC7rB61mGqirK84SCPqKmPXQEbDsSLQx nSqQ== ARC-Authentication-Results: i=1; mx.google.com; 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 i33si2818228pld.556.2017.11.30.15.53.05; Thu, 30 Nov 2017 15:53:18 -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; 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 S1751850AbdK3Xw3 (ORCPT + 99 others); Thu, 30 Nov 2017 18:52:29 -0500 Received: from mail-out.m-online.net ([212.18.0.9]:55787 "EHLO mail-out.m-online.net" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1751390AbdK3XwD (ORCPT ); Thu, 30 Nov 2017 18:52:03 -0500 Received: from frontend01.mail.m-online.net (unknown [192.168.8.182]) by mail-out.m-online.net (Postfix) with ESMTP id 3ynvMQ4YYJz1qvgr; Fri, 1 Dec 2017 00:52:02 +0100 (CET) Received: from localhost (dynscan1.mnet-online.de [192.168.6.70]) by mail.m-online.net (Postfix) with ESMTP id 3ynvMQ3Lc7z22LPp; Fri, 1 Dec 2017 00:52:02 +0100 (CET) X-Virus-Scanned: amavisd-new at mnet-online.de Received: from mail.mnet-online.de ([192.168.8.182]) by localhost (dynscan1.mail.m-online.net [192.168.6.70]) (amavisd-new, port 10024) with ESMTP id fCDMkV8D-KaW; Fri, 1 Dec 2017 00:52:01 +0100 (CET) X-Auth-Info: XcRjZiRokslSydXdl8PknOc0ZxcUeijpQThFuORAjGM= Received: from localhost.localdomain (89-64-27-66.dynamic.chello.pl [89.64.27.66]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mail.mnet-online.de (Postfix) with ESMTPSA; Fri, 1 Dec 2017 00:52:01 +0100 (CET) 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 v4 4/5] ARM: ep93xx: ts72xx: cosmetic: Add some description to ts72xx code Date: Fri, 1 Dec 2017 00:51:39 +0100 Message-Id: <20171130235140.12243-5-lukma@denx.de> X-Mailer: git-send-email 2.11.0 In-Reply-To: <20171130235140.12243-1-lukma@denx.de> References: <20171116232239.16823-1-lukma@denx.de> <20171130235140.12243-1-lukma@denx.de> Sender: linux-kernel-owner@vger.kernel.org Precedence: bulk List-ID: X-Mailing-List: linux-kernel@vger.kernel.org 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 --- 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 19b23c9a2efa..cf269b5397e5 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_OPTIONS_VIRT_BASE, @@ -210,10 +213,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 From 1585522551437542895@xxx Thu Nov 30 20:02:15 +0000 2017 X-GM-THRID: 1584686531931837914 X-Gmail-Labels: Inbox,Category Forums,HistoricalUnread