]> 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)
commit7e2d5fca014fc85586df445f10cb36745f987ca9
tree9aee8d12b79aa4eea215133c20c6af2a87958b05
parent6b09660c490b77d34d901175007a779ce7bea55a
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: 9cd11f51e46d ("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