From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1755578AbbESI6e (ORCPT ); Tue, 19 May 2015 04:58:34 -0400 Received: from mail-wg0-f47.google.com ([74.125.82.47]:36782 "EHLO mail-wg0-f47.google.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1755272AbbESI6C (ORCPT ); Tue, 19 May 2015 04:58:02 -0400 Message-ID: <555AFB17.1050703@suse.cz> Date: Tue, 19 May 2015 10:57:59 +0200 From: Jiri Slaby User-Agent: Mozilla/5.0 (X11; Linux x86_64; rv:31.0) Gecko/20100101 Thunderbird/31.7.0 MIME-Version: 1.0 To: Masahiro Yamada , Matthias Brugger CC: Peter Hurley , John Crispin , Tony Lindgren , Greg Kroah-Hartman , Joachim Eastwood , "linux-kernel@vger.kernel.org" , linux-serial@vger.kernel.org, Ricardo Ribalda Delgado , Andy Shevchenko , Sebastian Andrzej Siewior , "linux-arm-kernel@lists.infradead.org" , Alan Cox Subject: Re: [PATCH v3] serial: 8250_uniphier: add UniPhier serial driver References: <1431997900-18390-1-git-send-email-yamada.masahiro@socionext.com> In-Reply-To: Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 7bit Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 05/19/2015, 10:54 AM, Masahiro Yamada wrote: >>> +#define UNIPHIER_UART_CHAR_FCR 3 /* Character / FIFO Control Register */ >>> +#define UNIPHIER_UART_LCR_MCR 4 /* Line/Modem Control Register */ >>> +#define UNIPHIER_UART_LCR_SHIFT 8 >>> +#define UNIPHIER_UART_DLR 9 /* Divisor Latch Register */ >> >> Nit pick: Please fix identation. After "define" just put one blank. >> I personally prefer that the define values are aligned by tabs, but >> that's up tu you. >> > > I intentionally use deeper indentation for *_SHIFT > because I want to clearly show UNIPHIER_UART_LCR_SHIFT > belongs to UNIPHIER_UART_LCR_MCR register. > > I also want to describe them within 80 columns including comments, > so I cannot insert extra TABs to align the values. Hi, what about one space between # and define which is used sometimes? -- js suse labs