of: property: Fix documentation for out values
authorMatti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Wed, 13 Nov 2019 06:43:38 +0000 (08:43 +0200)
committerRob Herring <robh@kernel.org>
Thu, 14 Nov 2019 22:32:17 +0000 (16:32 -0600)
commit7f3fefeec2ce0d8f3598c53d6decca3a4fd5cdaf
treee6bb9ee63b59e8716b4ae388b7289f946b7b1522
parentcc57d7daafc22edb53ee228f7afa5379f345f68c
of: property: Fix documentation for out values

Property fetching functions which return number of successfully fetched
properties should not state that out-values are only modified if 0 is
returned. Fix this. Also, "pointer to return value" is slightly suboptimal
phrase as "return value" commonly refers to value function returns (not via
arguments). Rather use "pointer to found values".

Signed-off-by: Matti Vaittinen <matti.vaittinen@fi.rohmeurope.com>
Reviewed-by: Frank Rowand <frowand.list@gmail.com>
Signed-off-by: Rob Herring <robh@kernel.org>
drivers/of/property.c