Re: [PATCH] led/led-class: Handle LEDs with the same name

From: Ricardo Ribalda Delgado
Date: Thu Feb 19 2015 - 18:23:39 EST


Helo Josh

On Fri, Feb 20, 2015 at 12:15 AM, Josh Cartwright <joshc@xxxxxx> wrote:
>
> Is this solvable by adding support for led properties in an aliases { }
> node? I suppose that would mean you'd need to also overlay a selection
> of which LED is "red", but I don't know if that is a problem.

I think there are two concens here. One is to provide an unique name
when a led is register and the other is to locate the led.

This patch is just mend for providing unique names, so the led
subsystem can play nicer with overlays.

The other might be solved with an sysfs symbolic link.... I need to
check it out, but it is a different issue.

>
> Josh



--
Ricardo Ribalda
--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/