lkml.org 
[lkml]   [2019]   [Mar]   [13]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
From
Subject[PATCH 0/4] leds: netdev trigger: allow setting initial values in device tree
Date
I asked whether it would be reasonable to be able to initialize a
netdev trigger from DT data and was told "patch welcome", so here's an
attempt at implementing that, adding some pieces of documentation
along the way that would have saved me some time figuring out how to
transition away from the deprecated CONFIG_CAN_LEDS.

Rasmus Villemoes (4):
leds: netdev trigger: use memcpy in device_name_store
leds: netdev trigger: factor out middle part of device_name_store
leds: netdev trigger: add documentation to leds/common.txt
leds: netdev trigger: allow setting initial values in device tree

.../devicetree/bindings/leds/common.txt | 20 ++++++
drivers/leds/trigger/ledtrig-netdev.c | 64 +++++++++++++++----
drivers/net/can/Kconfig | 3 +-
3 files changed, 73 insertions(+), 14 deletions(-)

--
2.20.1

\
 
 \ /
  Last update: 2019-03-13 21:26    [W:0.166 / U:30.956 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site