Re: [PATCH v2] leds: start numerating duplicated devices from 2

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hello Bryan

On Thu, Mar 26, 2015 at 7:15 PM, Bryan Wu <cooloney@xxxxxxxxx> wrote:
> No, I prefer to "_1" since normally we treat the first one "_0" or
> empty. But I suggest we add the "_0" for the first new device then the
> second one will be "_1"

Wouldn't that break the userspace API? perhaps there is a script/app
is using the legacy name.

What about leaving the legacy file, but adding a symbolic link from
name_0 to name?

Regards!
--
To unsubscribe from this list: send the line "unsubscribe linux-leds" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at  http://vger.kernel.org/majordomo-info.html




[Index of Archives]     [Linux ARM Kernel]     [Linux ARM]     [Linux Omap]     [Fedora ARM]     [IETF Annouce]     [Security]     [Bugtraq]     [Linux OMAP]     [Linux MIPS]     [ECOS]     [Asterisk Internet PBX]     [Linux API]

  Powered by Linux