Re: [PATCH v1 2/3] device property: Implement device_is_compatible()

Andy Shevchenko
2023-06-09T15:39:01Z

On Fri, Jun 09, 2023 at 05:33:25PM +0200, Greg Kroah-Hartman wrote:
> On Fri, Jun 09, 2023 at 06:25:06PM +0300, Andy Shevchenko wrote:
> > Some users want to use the struct device pointer to see if
> > the device is compatible. Provide inline helpers for them.
> What do you mean by "compatible"?

In terms of how OF defines it (note that ACPI may also utilize it,
so it's wider than there).

I will elaborate this in v2.

--
With Best Regards,
Andy Shevchenko