On 25/11/2022 11:06, Andy Shevchenko wrote:
On Fri, Nov 25, 2022 at 12:58:46PM +0200, Laurent Pinchart wrote:
On Fri, Nov 25, 2022 at 10:17:17AM +0000, Dan Scally wrote:
...
Can the LED framework be used without having the LED exposed to
userspace ?
I believe the correct question here is "can the states of some leds be
read-only from user perspective" (this way any changes into led subsystems
looks less intrusive, esp. taking into account that subsystem is de facto
unmaintained).
I think the answer to that is yes:
https://elixir.bootlin.com/linux/latest/source/drivers/leds/led-class.c#L47