Re: [PATCH -next 0/2] leds: add substitutes for /sys/class/leds//trigger

2019-10-02 Thread Pavel Machek
Hi! > Reading /sys/class/leds//trigger returns all available LED triggers. > However, this violates the "one value per file" rule of sysfs. > > This series provides a new /sys/devices/virtual/led-trigger/ directory and > /sys/class/leds//current-trigger. The new api follows the "one value > per

[PATCH -next 0/2] leds: add substitutes for /sys/class/leds//trigger

2019-10-02 Thread Akinobu Mita
Reading /sys/class/leds//trigger returns all available LED triggers. However, this violates the "one value per file" rule of sysfs. This series provides a new /sys/devices/virtual/led-trigger/ directory and /sys/class/leds//current-trigger. The new api follows the "one value per file" rule of