leds: trigger: Introduce a NETDEV trigger
authorBen Whitten <ben.whitten@gmail.com>
Sun, 10 Dec 2017 21:17:55 +0000 (21:17 +0000)
committerJacek Anaszewski <jacek.anaszewski@gmail.com>
Mon, 8 Jan 2018 20:28:11 +0000 (21:28 +0100)
commit06f502f57d0d7728f9fa0f157ec5e4111ddb98f6
tree8b393a5c1d6ba40be9c8ba45ffb24909bbdb052f
parente0d422987936958b41999f62ea64f1dd0102606f
leds: trigger: Introduce a NETDEV trigger

This commit introduces a NETDEV trigger for named device
activity. Available triggers are link, rx, and tx.

Signed-off-by: Ben Whitten <ben.whitten@gmail.com>
Acked-by: Pavel Machek <pavel@ucw.cz>
Signed-off-by: Jacek Anaszewski <jacek.anaszewski@gmail.com>
Documentation/ABI/testing/sysfs-class-led-trigger-netdev [new file with mode: 0644]
drivers/leds/trigger/Kconfig
drivers/leds/trigger/Makefile
drivers/leds/trigger/ledtrig-netdev.c [new file with mode: 0644]