Message ID | 20241024130424.3818291-1-andriy.shevchenko@linux.intel.com (mailing list archive) |
---|---|
Headers | show |
Series | iio: Clean up acpi_match_device() use cases | expand |
On Thu, Oct 24, 2024 at 03:36:05PM +0300, Andy Shevchenko wrote: > There are current uses of acpi_match_device(): > - as strange way of checking if the device was enumerated via ACPI > - as a way to get IIO device name as ACPI device instance name > - as above with accompanying driver data > > Deduplicate its use by providing two new helper functions in IIO ACPI > library and update the rest accordingly. > > This also includes a rework of previously sent ltr501 patch. > In v2: > - collected tags (Hans, Jean-Baptiste) > - updated SoB chain in patch 4 Heck, I forgot to address the main comment by Jonathan! Sorry for the noise, I will send a v3 later today.