Userspace LED support

modulename: uleds.ko

configname: CONFIG_LEDS_USER

Linux Kernel Configuration
└─>Device Drivers
└─>LED Support
└─>Userspace LED support
In linux kernel since version 4.1 (release Date: 2015-06-21)  
This option enables support for userspace LEDs. Say 'y' to enable this
support in kernel. To compile this driver as a module, choose 'm' here:
the module will be called uleds.

source code: