[<prev] [next>] [<thread-prev] [thread-next>] [day] [month] [year] [list]
Message-ID: <20200722123941.GA3448@ucw.cz>
Date: Wed, 22 Jul 2020 14:39:41 +0200
From: Pavel Machek <pavel@....cz>
To: Dan Murphy <dmurphy@...com>
Cc: jacek.anaszewski@...il.com, robh@...nel.org, marek.behun@....cz,
devicetree@...r.kernel.org, linux-leds@...r.kernel.org,
linux-kernel@...r.kernel.org, linux-arm-kernel@...ts.infradead.org
Subject: Re: [PATCH v31 03/12] leds: lp50xx: Add the LP50XX family of the RGB
LED driver
Hi!
> > > > > + ret = fwnode_property_read_u32_array(child,
> > > > > + "reg",
> > > > > + led_banks,
> > > > > + ret);
> > > > Move this to subfunction to reduce the indentation? (Or, just refactor
> > > > it somehow).
> > > Actually I can just put it all on the same line since the 80 character
> > > requirement is relaxed.
> > No.
> >
> > You have too long and too complex function, with too many blocks
> > inside each other. Please fix it.
>
> I will refactor
Thank you.
Pavel
Powered by blists - more mailing lists