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

From: Andy Shevchenko
Date: Tue Jun 13 2023 - 11:14:48 EST


On Tue, Jun 13, 2023 at 12:45:08PM +0300, Serge Semin wrote:
> On Fri, Jun 09, 2023 at 06:48:59PM +0300, Andy Shevchenko wrote:
> > Some users want to use the struct device pointer to see if the
> > device is compatible in terms of Open Firmware specifications,
> > i.e. if it has a 'compatible' property and it matches to the
> > given value. Provide inline helper for the users.
>
> IMO much useful wrapper. Thanks for the patch.
> Reviewed-by: Serge Semin <fancer.lancer@xxxxxxxxx>

There is a v3. Do you mind to tag it as well?

--
With Best Regards,
Andy Shevchenko