]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit407229954f94641ae2fbe48aacaf6d7c85a34748
treee6bb9ee63b59e8716b4ae388b7289f946b7b1522
parent9bdb38bf52af550e81901cd56b682ad4185ca4d9
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