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

2016-07-20 Thread Mark Brown
On Wed, Jul 20, 2016 at 02:21:55PM +0300, Crestez Dan Leonard wrote: > On 07/19/2016 01:22 PM, Mark Brown wrote: > > Please submit patches using subject lines reflecting the style for the > > subsystem. This makes it easier for people to identify relevant > > patches. Look at what existing commi

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

2016-07-20 Thread Crestez Dan Leonard
On 07/19/2016 01:22 PM, Mark Brown wrote: > On Wed, Jul 13, 2016 at 02:53:42PM +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 in

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

2016-07-19 Thread Mark Brown
On Wed, Jul 13, 2016 at 02:53:42PM +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 ACPI

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

2016-07-19 Thread Mika Westerberg
On Wed, Jul 13, 2016 at 02:22:02PM +0200, Rafael J. Wysocki wrote: > On Wed, Jul 13, 2016 at 1:53 PM, 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_

Re: [PATCH v2 3/3] acpi spi: Initialize modalias from 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 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

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

2016-07-13 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 acpi_regist