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)
commit92e10465acaffcf65e803f40e884ffa86fd3ff2f
tree9aee8d12b79aa4eea215133c20c6af2a87958b05
parent247f34f7b80357943234f93f247a1ae6b6c3a740
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: 3f5c8d318785 ("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