Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > linux.kernel > #1664947

Re: [PATCH 2/2] tty/serial: atmel: make the driver DT only

From Andy Shevchenko <andy.shevchenko@gmail.com>
Newsgroups linux.kernel
Subject Re: [PATCH 2/2] tty/serial: atmel: make the driver DT only
Date 2017-06-13 17:00 +0200
Message-ID <tRVsu-Oa-11@gated-at.bofh.it> (permalink)
References <tRUmK-ap-31@gated-at.bofh.it> <tRUmK-ap-29@gated-at.bofh.it>
Organization linux.* mail to news gateway

Show all headers | View raw


On Tue, Jun 13, 2017 at 4:40 PM, Alexandre Belloni
<alexandre.belloni@free-electrons.com> 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?

> +       /* 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)

-- 
With Best Regards,
Andy Shevchenko

Back to linux.kernel | Previous | NextPrevious in thread | Next in thread | Find similar | Unroll thread


Thread

[PATCH 2/2] tty/serial: atmel: make the driver DT only Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-13 15:50 +0200
  Re: [PATCH 2/2] tty/serial: atmel: make the driver DT only Andy Shevchenko <andy.shevchenko@gmail.com> - 2017-06-13 17:00 +0200
    Re: [PATCH 2/2] tty/serial: atmel: make the driver DT only Alexandre Belloni <alexandre.belloni@free-electrons.com> - 2017-06-13 22:00 +0200

csiph-web