Re: [PATCH v2 0/3] Init device ids from ACPI of_compatible

2016-07-13 Thread Dan O'Donovan
On 07/13/2016 12:53 PM, Crestez Dan Leonard wrote: > When using devicetree stuff like i2c_client.name or spi_device.modalias > is initialized to the first DT compatible id with the vendor prefix > stripped. Since some drivers rely on this in order to differentiate between > hardware variants try to

Re: [PATCH v2 0/3] Init device ids from ACPI of_compatible

2016-07-13 Thread Rafael J. Wysocki
On Wed, Jul 13, 2016 at 1:53 PM, Crestez Dan Leonard wrote: > When using devicetree stuff like i2c_client.name or spi_device.modalias > is initialized to the first DT compatible id with the vendor prefix > stripped. Since some drivers rely on this in order to differentiate between > hardware varia

[PATCH v2 0/3] Init device ids from ACPI of_compatible

2016-07-13 Thread Crestez Dan Leonard
When using devicetree stuff like i2c_client.name or spi_device.modalias is initialized to the first DT compatible id with the vendor prefix stripped. Since some drivers rely on this in order to differentiate between hardware variants try to replicate it when using ACPI with DT ids. This also makes