Re: [PATCH V3 2/4] ACPI / bus: introduce acpi_device_get_match_data() function

2017-11-29 Thread Sinan Kaya
On 11/29/2017 8:55 AM, Vinod Koul wrote: >> While I understand that the name follows the OF convention, I have some >> doubts on whether it is the best one. > Perhpas acpi_get_match_data() ? Will change as recommended unless Rafael has a better idea. -- Sinan Kaya Qualcomm Datacenter Technologie

Re: [PATCH V3 2/4] ACPI / bus: introduce acpi_device_get_match_data() function

2017-11-29 Thread Vinod Koul
On Sun, Nov 12, 2017 at 01:14:12AM +0100, Rafael J. Wysocki wrote: > On Friday, November 10, 2017 3:35:41 AM CET Sinan Kaya wrote: > > +linux-a...@vger.kernel.org, +Rafael > > Thanks! > > > On 11/9/2017 9:32 PM, Sinan Kaya wrote: > > > OF has of_device_get_match_data() function to extract driver

Re: [PATCH V3 2/4] ACPI / bus: introduce acpi_device_get_match_data() function

2017-11-11 Thread Rafael J. Wysocki
On Friday, November 10, 2017 3:35:41 AM CET Sinan Kaya wrote: > +linux-a...@vger.kernel.org, +Rafael Thanks! > On 11/9/2017 9:32 PM, Sinan Kaya wrote: > > OF has of_device_get_match_data() function to extract driver specific data > > structure. Add a similar function for ACPI. > > > > Signed-off

Re: [PATCH V3 2/4] ACPI / bus: introduce acpi_device_get_match_data() function

2017-11-09 Thread Sinan Kaya
+linux-a...@vger.kernel.org, +Rafael On 11/9/2017 9:32 PM, Sinan Kaya wrote: > OF has of_device_get_match_data() function to extract driver specific data > structure. Add a similar function for ACPI. > > Signed-off-by: Sinan Kaya > --- > drivers/acpi/bus.c | 12 > include/linux/a