Re: [PATCH 3/3] acpi spi: Initialize modalias from of_compatible

2016-06-16 Thread Mika Westerberg
On Wed, Jun 15, 2016 at 09:30:29PM +0300, Crestez Dan Leonard wrote: > When using devicetree spi_device.modalias is set to the compatible > string with the vendor prefix removed. For SPI devices described via > ACPI the i2c_board_info.type string is initialized by acpi_device_hid. > When using

Re: [PATCH 3/3] acpi spi: Initialize modalias from of_compatible

2016-06-16 Thread Mika Westerberg
On Wed, Jun 15, 2016 at 09:30:29PM +0300, Crestez Dan Leonard wrote: > When using devicetree spi_device.modalias is set to the compatible > string with the vendor prefix removed. For SPI devices described via > ACPI the i2c_board_info.type string is initialized by acpi_device_hid. > When using

[PATCH 3/3] acpi spi: Initialize modalias from of_compatible

2016-06-15 Thread Crestez Dan Leonard
When using devicetree spi_device.modalias is set to the compatible string with the vendor prefix removed. For SPI devices described via ACPI the i2c_board_info.type string is initialized by acpi_device_hid. When using ACPI and DT ids this string ends up something like "PRP0001". Change

[PATCH 3/3] acpi spi: Initialize modalias from of_compatible

2016-06-15 Thread Crestez Dan Leonard
When using devicetree spi_device.modalias is set to the compatible string with the vendor prefix removed. For SPI devices described via ACPI the i2c_board_info.type string is initialized by acpi_device_hid. When using ACPI and DT ids this string ends up something like "PRP0001". Change