Re: [PATCH v2 1/3] acpi: Export acpi_of_modalias equiv of of_modalias_node

2016-07-19 Thread Mika Westerberg
On Wed, Jul 13, 2016 at 02:53:40PM +0300, 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 try to replicate it when using > ACPI with

Re: [PATCH v2 1/3] acpi: Export acpi_of_modalias equiv of of_modalias_node

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 try to replicate it when using > ACPI with DT ids.

[PATCH v2 1/3] acpi: Export acpi_of_modalias equiv of of_modalias_node

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 try to replicate it when using ACPI with DT ids. Signed-off-by: Crestez Dan Leonard --- drivers/acpi/bus.c |