On Tue, Oct 20, 2020 at 2:35 PM Jun Li <jun.li@xxxxxxx> wrote: > > From: Andy Shevchenko <andriy.shevchenko@xxxxxxxxxxxxxxx> > > Sent: Monday, October 19, 2020 8:25 PM > > On Mon, Oct 19, 2020 at 05:03:13PM +0800, Li Jun wrote: ... > of_device_is_compatible() will return positive value on match, and 0 > when no matching, > fwnode_property_match_string() will return 0 if the property was found > (success); and negative error code on failure. Thanks for checking this! -- With Best Regards, Andy Shevchenko