Re: [PATCH 02/24] leds: core: Add support for composing LED class device names

From: Linus Walleij
Date: Mon Nov 12 2018 - 16:26:03 EST


On Mon, Nov 12, 2018 at 1:02 AM Vesa JÃÃskelÃinen <dachaac@xxxxxxxxx> wrote:

> Couldn't we have here multiple variants that would then be chosen based
> on device tree definition?

It needs to be subsystem specific or something.
What you say make sense for things based on device
tree.

The problem hit me on an Intel laptop with several
USB keyboards.

OK maybe I am stupid for plugging in two USB keyboards,
but we should definately support it. Input/HID supports it
well.

Yours,
Linus Walleij