Re: [PATCH v2 2/4] leds: simatic-ipc-leds: add new driver for Siemens Industial PCs

From: Andy Shevchenko
Date: Mon Mar 15 2021 - 07:27:41 EST


On Mon, Mar 15, 2021 at 1:19 PM Pavel Machek <pavel@xxxxxx> wrote:

> > > + struct simatic_ipc_led *led =
> > > + container_of(led_cd, struct simatic_ipc_led, cdev);
> >
> > One line?
>
> 80 columns. It is fine as it is.

With the inline helper it will be possible to have this neat and short.

--
With Best Regards,
Andy Shevchenko