[PATCH v31 03/12] leds: lp50xx: Add the LP50XX family of the RGB LED driver
Pavel Machek
pavel at ucw.cz
Wed Jul 22 03:10:55 EDT 2020
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.
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 181 bytes
Desc: Digital signature
URL: <http://lists.infradead.org/pipermail/linux-arm-kernel/attachments/20200722/9d1ca131/attachment.sig>
More information about the linux-arm-kernel
mailing list