Re: [PATCH v1 1/2] device property: Introduce fwnode_device_is_compatible() helper

From: Andy Shevchenko
Date: Wed Oct 05 2022 - 11:19:37 EST


On Wed, Oct 05, 2022 at 05:38:11PM +0300, Andy Shevchenko wrote:
> The fwnode_device_is_compatible() helper searches for the
> given string in the "compatible" string array property and,
> if found, returns true.

Scratch this, it has some flaws.

--
With Best Regards,
Andy Shevchenko