lkml.org 
[lkml]   [2022]   [May]   [5]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
Date
From
SubjectRe: [RFC PATCH v6 10/11] net: dsa: qca8k: add LEDs support
On Thu, May 05, 2022 at 03:55:26AM +0200, Andrew Lunn wrote:
> > + ret = fwnode_property_read_string(led, "default-state", &state);
>
> You should probably use led_default_state led_init_default_state_get()
>
> Andrew

Oh, didn't know it was a thing, is this new? Anyway thanks.

--
Ansuel

\
 
 \ /
  Last update: 2022-05-05 15:34    [W:1.032 / U:0.116 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site