ledtrig-netdev: add support for brightness
authorxuefenghao <haoxf1@163.com>
Thu, 28 Sep 2017 01:19:23 +0000 (09:19 +0800)
committerHans Dedecker <dedeckeh@gmail.com>
Thu, 8 Nov 2018 10:07:04 +0000 (11:07 +0100)
commit86d1ab5c6711275c5c9053e845738dea457bdcfa
tree56e0e1cfde27f6318b72d246ed160055ad6f176f
parent68b43270f9bd18d6c28b7d45d2453ae220d760ea
ledtrig-netdev: add support for brightness

Instead of using the hard-coded LED_FULL when bring ON a LED,
use 'echo value > brightness' to control the brightness in netdev trigger.

Signed-off-by: xuefenghao <haoxf1@163.com>
target/linux/generic/files/drivers/leds/ledtrig-netdev.c