lkml.org 
[lkml]   [2021]   [Mar]   [15]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
    /
    From
    Date
    SubjectRe: [PATCH v2 2/4] leds: simatic-ipc-leds: add new driver for Siemens Industial PCs
    On Mon, Mar 15, 2021 at 1:19 PM Pavel Machek <pavel@ucw.cz> 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

    \
     
     \ /
      Last update: 2021-03-15 12:29    [W:4.096 / U:0.336 seconds]
    ©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site