]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: Fix regulator_get_{optional,exclusive}() documentation
authorStephen Boyd <sboyd@codeaurora.org>
Wed, 28 May 2014 19:41:28 +0000 (12:41 -0700)
committerMark Brown <broonie@linaro.org>
Wed, 28 May 2014 20:25:24 +0000 (21:25 +0100)
commitae537ce729a3c50fe6d6e61f0b96dff2ed1e4774
treecb33c85b08bd96dd6d1fd2c75e556c6107124a9e
parentaf79aa9f64d1773a979c49efeb25c07145e0ce3b
regulator: Fix regulator_get_{optional,exclusive}() documentation

regulator_get_optional() doesn't hold an exclusive reference to
the regulator. Fix the documentation and reword the exclusive
documentation to fix the grammatical error "this reference is
held".

Signed-off-by: Stephen Boyd <sboyd@codeaurora.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/core.c