Re: [FYI] lm3532: right registration to work with LED-backlight

2019-09-17 Thread Jacek Anaszewski
Hi Pavel, On 9/17/19 2:42 PM, Pavel Machek wrote: > Hi! > > +++ b/drivers/leds/leds-lm3532.c > @@ -629,7 +629,7 @@ static int lm3532_parse_node(struct lm3532_data *priv) > > lm3532_init_registers(led); > > - ret = devm_led_classdev_register(priv->dev,

Re: [FYI] lm3532: right registration to work with LED-backlight

2019-09-17 Thread Pavel Machek
Hi! > >>> +++ b/drivers/leds/leds-lm3532.c > >>> @@ -629,7 +629,7 @@ static int lm3532_parse_node(struct lm3532_data *priv) > >>> > >>> lm3532_init_registers(led); > >>> > >>> - ret = devm_led_classdev_register(priv->dev, &led->led_dev); > >>> + ret = devm_of_led_clas

Re: [FYI] lm3532: right registration to work with LED-backlight

2019-09-08 Thread Jacek Anaszewski
On 9/8/19 10:03 AM, Pavel Machek wrote: > On Wed 2019-08-28 22:32:57, Jacek Anaszewski wrote: >> On 8/28/19 10:53 AM, Pavel Machek wrote: >>> Hi! >>> >>> Eventually, these will be needed. >>> >>> Best regards, >>> Pavel >>> >>> commit 38d9

Re: [FYI] lm3532: right registration to work with LED-backlight

2019-09-08 Thread Pavel Machek
On Wed 2019-08-28 22:32:57, Jacek Anaszewski wrote: > On 8/28/19 10:53 AM, Pavel Machek wrote: > > Hi! > > > > Eventually, these will be needed. > > > > Best regards, > > Pavel > > > > commit 38d956977a7d6cbdc811676f9b4033da7487e045 > >

Re: [FYI] lm3532: right registration to work with LED-backlight

2019-08-28 Thread Jacek Anaszewski
On 8/28/19 10:53 AM, Pavel Machek wrote: > Hi! > > Eventually, these will be needed. > > Best regards, > Pavel > > commit 38d956977a7d6cbdc811676f9b4033da7487e045 > Author: Pavel > Date: Wed Aug 7 12:43:52 2019 +0200 > > d4: l

[FYI] lm3532: right registration to work with LED-backlight

2019-08-28 Thread Pavel Machek
Hi! Eventually, these will be needed. Best regards, Pavel commit 38d956977a7d6cbdc811676f9b4033da7487e045 Author: Pavel Date: Wed Aug 7 12:43:52 2019 +0200 d4: lm3532 needs to use right register function for backlight to wor