lkml.org 
[lkml]   [2021]   [Jan]   [4]   [last100]   RSS Feed
Views: [wrap][no wrap]   [headers]  [forward] 
 
Messages in this thread
/
SubjectRe: [PATCH v4 13/15] acpi: Add acpi_dev_get_next_match_dev() and helper macro
From
Date
On 04/01/2021 12:42, Andy Shevchenko wrote:
> On Sun, Jan 03, 2021 at 11:12:33PM +0000, Daniel Scally wrote:
>> To ensure we handle situations in which multiple sensors of the same
>> model (and therefore _HID) are present in a system, we need to be able
>> to iterate over devices matching a known _HID but unknown _UID and _HRV
>> - add acpi_dev_get_next_match_dev() to accommodate that possibility and
>> change acpi_dev_get_first_match_dev() to simply call the new function
>> with a NULL starting point. Add an iterator macro for convenience.
> I guess we need Rafael's blessing on this.
For this one yes

\
 
 \ /
  Last update: 2021-01-04 13:59    [W:0.064 / U:12.384 seconds]
©2003-2020 Jasper Spaans|hosted at Digital Ocean and TransIP|Read the blog|Advertise on this site