Re: [PATCH 3/8] serial: core: move sanitizing of RS485 delays into own function

From: Andy Shevchenko
Date: Thu Jun 23 2022 - 12:25:24 EST


On Wed, Jun 22, 2022 at 05:46:54PM +0200, Lino Sanfilippo wrote:
> From: Lino Sanfilippo <l.sanfilippo@xxxxxxxxxx>
>
> Move the sanitizing of RS485 delays out of uart_sanitize_serial_rs485()
> into the new function uart_sanitize_serial_rs485_delays().

...

> + /* pick sane settings if the user hasn't */

Be consistent with the style (capitalization) of one-line comments. It might
require another patch to make it all consistent.

(Below is left for a context)

> /* Return clean padding area to userspace */

--
With Best Regards,
Andy Shevchenko