Re: [PATCH 14/15] serial: sc16is7xx: reformat comments

From: Hugo Villeneuve

Date: Tue Sep 30 2025 - 15:42:49 EST


Hi Jiri,

On Mon, 29 Sep 2025 08:18:01 +0200
Jiri Slaby <jirislaby@xxxxxxxxxx> wrote:

> On 24. 09. 25, 17:37, Hugo Villeneuve wrote:
> > From: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
> >
> > Add missing space at end of comments and reformat to have uniform style.
> >
> > Signed-off-by: Hugo Villeneuve <hvilleneuve@xxxxxxxxxxxx>
> > ---
> > drivers/tty/serial/sc16is7xx.c | 14 +++++++++-----
> > 1 file changed, 9 insertions(+), 5 deletions(-)
> >
> > diff --git a/drivers/tty/serial/sc16is7xx.c b/drivers/tty/serial/sc16is7xx.c
> > index 31d43fc857187..b3fbe9459303a 100644
> > --- a/drivers/tty/serial/sc16is7xx.c
> > +++ b/drivers/tty/serial/sc16is7xx.c
> > @@ -81,11 +81,14 @@
> > /* IER register bits */
> > #define SC16IS7XX_IER_RDI_BIT BIT(0) /* Enable RX data interrupt */
> > #define SC16IS7XX_IER_THRI_BIT BIT(1) /* Enable TX holding register
> > - * interrupt */
> > + * interrupt
> > + */
>
> I am not forcing this, but maybe put it on one line, if it fits into 100
> columns? I believe people are using 100 columns nowadays (me included).

Yes good idea. And since the goal of this commit was to try to
uniformize all comments accross the driver, I will probably reformat
most of them to improve readability and follow same convention.

Hugo.

--
Hugo Villeneuve