mirror of
https://git.kernel.org/pub/scm/linux/kernel/git/stable/linux.git/
synced 2026-10-31 05:15:34 +00:00
device property: Introduce fwnode_device_is_compatible() helper
The fwnode_device_is_compatible() helper searches for the given string in the "compatible" string array property and, if found, returns true. Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com> Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
This commit is contained in:
parent
03e9491fff
commit
a521075d0a
1 changed files with 9 additions and 1 deletions
Loading…
Add table
Add a link
Reference in a new issue