Re: [PATCH v2 1/2] of: Ensure unique names without sacrificing determinism

2014-05-24 Thread Ezequiel Garcia
On 23 May 08:36 AM, Grant Likely wrote: > The way the driver core is implemented, every device using the same bus > type is required to have a unique name because a symlink to each device > is created in the appropriate /sys/bus/*/devices directory, and two > identical names causes a collision. >

Re: [PATCH v2 1/2] of: Ensure unique names without sacrificing determinism

2014-05-24 Thread Ezequiel Garcia
On 23 May 08:36 AM, Grant Likely wrote: The way the driver core is implemented, every device using the same bus type is required to have a unique name because a symlink to each device is created in the appropriate /sys/bus/*/devices directory, and two identical names causes a collision. The

Re: [PATCH v2 1/2] of: Ensure unique names without sacrificing determinism

2014-05-23 Thread Rob Herring
On Thu, May 22, 2014 at 6:36 PM, Grant Likely wrote: > The way the driver core is implemented, every device using the same bus > type is required to have a unique name because a symlink to each device > is created in the appropriate /sys/bus/*/devices directory, and two > identical names causes a

[PATCH v2 1/2] of: Ensure unique names without sacrificing determinism

2014-05-23 Thread Grant Likely
The way the driver core is implemented, every device using the same bus type is required to have a unique name because a symlink to each device is created in the appropriate /sys/bus/*/devices directory, and two identical names causes a collision. The current code handles the requirement by using

[PATCH v2 1/2] of: Ensure unique names without sacrificing determinism

2014-05-23 Thread Grant Likely
The way the driver core is implemented, every device using the same bus type is required to have a unique name because a symlink to each device is created in the appropriate /sys/bus/*/devices directory, and two identical names causes a collision. The current code handles the requirement by using

Re: [PATCH v2 1/2] of: Ensure unique names without sacrificing determinism

2014-05-23 Thread Rob Herring
On Thu, May 22, 2014 at 6:36 PM, Grant Likely grant.lik...@linaro.org wrote: The way the driver core is implemented, every device using the same bus type is required to have a unique name because a symlink to each device is created in the appropriate /sys/bus/*/devices directory, and two