On Wed, Jul 4, 2018 at 12:31 AM, Andy Shevchenko <andy.shevchenko@xxxxxxxxx> wrote: > On Tue, Jul 3, 2018 at 9:09 AM, Nikolaus Voss > <nikolaus.voss@xxxxxxxxxxxxxxxxxxxxx> wrote: >> When using ACPI with ACPI_DT_NAMESPACE_HID/ PRP0001 HID and referring to >> of_device_id table "compatible" strings in DSD, a pointer to the >> corresponding DT table entry should be returned instead of a null >> pointer. An acpi_device_id match still takes precedence. > > I'm not sure what you are trying to achieve here. > This works solely for ACPI case. Okay, now, after a bit of browsing sources, I got your problem. Indeed, we have acpi_of_match_device() which returns matched OF item, but no caller is interested in it... -- With Best Regards, Andy Shevchenko -- To unsubscribe from this list: send the line "unsubscribe linux-acpi" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html