]> git.baikalelectronics.ru Git - kernel.git/commit
device property: Fix documentation for *_match_string() APIs
authorAndy Shevchenko <andriy.shevchenko@linux.intel.com>
Thu, 6 Oct 2022 12:38:07 +0000 (15:38 +0300)
committerRafael J. Wysocki <rafael.j.wysocki@intel.com>
Tue, 25 Oct 2022 18:17:59 +0000 (20:17 +0200)
commita64fb4f4653553c90daade01dc38a5c46790bd7c
tree9aee8d12b79aa4eea215133c20c6af2a87958b05
parent294e65dd392fa58ea6fb34745e7ea186eacf2e8d
device property: Fix documentation for *_match_string() APIs

The returned value on success is an index of the matching string,
starting from 0. Reflect this in the documentation.

Fixes: f287eefbfea1 ("device property: Add fwnode_property_match_string()")
Signed-off-by: Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Reviewed-by: Sakari Ailus <sakari.ailus@linux.intel.com>
Signed-off-by: Rafael J. Wysocki <rafael.j.wysocki@intel.com>
drivers/base/property.c