From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (majordomo@vger.kernel.org) by vger.kernel.org via listexpand id S1753953AbdFMT4L (ORCPT ); Tue, 13 Jun 2017 15:56:11 -0400 Received: from mail.free-electrons.com ([62.4.15.54]:37283 "EHLO mail.free-electrons.com" rhost-flags-OK-OK-OK-OK) by vger.kernel.org with ESMTP id S1753311AbdFMT4K (ORCPT ); Tue, 13 Jun 2017 15:56:10 -0400 Date: Tue, 13 Jun 2017 21:56:08 +0200 From: Alexandre Belloni To: Andy Shevchenko Cc: Richard Genoud , Greg Kroah-Hartman , Nicolas Ferre , "linux-serial@vger.kernel.org" , linux-arm Mailing List , "linux-kernel@vger.kernel.org" Subject: Re: [PATCH 2/2] tty/serial: atmel: make the driver DT only Message-ID: <20170613195608.3tfckys7w42sgmiy@piout.net> References: <20170613134038.5545-1-alexandre.belloni@free-electrons.com> <20170613134038.5545-2-alexandre.belloni@free-electrons.com> MIME-Version: 1.0 Content-Type: text/plain; charset=us-ascii Content-Disposition: inline In-Reply-To: User-Agent: NeoMutt/20170113 (1.7.2) Sender: linux-kernel-owner@vger.kernel.org List-ID: X-Mailing-List: linux-kernel@vger.kernel.org On 13/06/2017 at 17:50:25 +0300, Andy Shevchenko wrote: > On Tue, Jun 13, 2017 at 4:40 PM, Alexandre Belloni > wrote: > > Now that AVR32 is gone, platform_data are not used to initialize the driver > > anymore, remove that path from the driver. Also remove the now unused > > struct atmel_uart_data. > > Nitpicks, not insisting on them at all, just a side comment. > > > + struct serial_rs485 *rs485conf = &port->rs485; > > + u32 rs485_delay[2]; > > + empty line? > Okay > > + /* rs485 properties */ > > > + if (of_property_read_u32_array(np, "rs485-rts-delay", > > + rs485_delay, 2) == 0) { > > Now it can be one line I suppose (taking into account ...() == 0 -> > !...() change) > No, it still doesn't fit, I'll leave it as-is -- Alexandre Belloni, Free Electrons Embedded Linux and Kernel engineering http://free-electrons.com