Re: [PATCH leds v2 50/50] leds: parse linux,default-trigger DT property in LED core

From: Pavel Machek
Date: Sat Sep 19 2020 - 06:19:19 EST


Hi!

> Do parsing of `linux,default-trigger` DT property to LED core. Currently
> it is done in many different drivers and the code is repeated.
>
> This patch removes the parsing from 21 drivers:
> an30259a, aw2013, bcm6328, bcm6358, cr0014114, el15203000, gpio,
> is31fl319x, is31fl32xx, lm3532, lm36274, lm3692x, lm3697, lp8860,
> lt3593, max77650, mt6323, ns2, pm8058, tlc591xx and turris-omnia.
>
> There are still 11 drivers that parse this property on their own because
> they do not pass the led_init_data structure to the registering
> function. I will try to refactor those in the future.

I applied selected patches from the series... but it is not clear what
this depends on so I'll avoid it for now.

(Oh and thanks for the great work, BTW!)

Please take a look at my -next tree.... and feel free to send me
patches that still make sense.

Best regards,
Pavel
--
(english) http://www.livejournal.com/~pavelmachek
(cesky, pictures) http://atrey.karlin.mff.cuni.cz/~pavel/picture/horses/blog.html

Attachment: signature.asc
Description: PGP signature