Skip to content
Snippets Groups Projects
Commit 0d23fd2a authored by Petr Štetiar's avatar Petr Štetiar Committed by John Crispin
Browse files

treewide: dts: Remove default-state=off property from all gpio LED nodes


>From the Documentation/devicetree/bindings/leds/common.txt:

- default-state : The initial state of the LED. Valid values are "on", "off",
  and "keep". If the LED is already on or off and the default-state property is
  set the to same value, then no glitch should be produced where the LED
  momentarily turns off (or on). The "keep" setting will keep the LED at
  whatever its current state is, without producing a glitch.  The default is
  off if this property is not present.

So setting the default-state of the LEDs to `off` is redundant as `off`
is default LED state anyway. We should remove it as almost every new
PR/patch submission contains this property by default which seems to be
just copy&paste from some DTS file already present in the tree.

Signed-off-by: default avatarPetr Štetiar <ynezz@true.cz>
parent 1e4ee63c
No related branches found
No related tags found
No related merge requests found
Showing
with 0 additions and 59 deletions
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment