dm: core: Fix up string-function documentation

The details for of_property_read_string_helper() and
ofnode_read_string_index() are a little inaccurate. Fix up the comments to
avoid confusion.

Signed-off-by: Simon Glass <sjg@chromium.org>
This commit is contained in:
Simon Glass
2021-10-23 17:26:06 -06:00
parent 8044318305
commit 32c6a8e1f8
2 changed files with 4 additions and 3 deletions

View File

@@ -581,7 +581,8 @@ int of_property_match_string(const struct device_node *np, const char *propname,
* @propname: name of the property to be searched.
* @out_strs: output array of string pointers.
* @sz: number of array elements to read.
* @skip: Number of strings to skip over at beginning of list.
* @skip: Number of strings to skip over at beginning of list (cannot be
* negative)
*
* Don't call this function directly. It is a utility helper for the
* of_property_read_string*() family of functions.