]> 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)
commit9f7d37a5f3a23a4271b4980bb902b33d69a0ee70
treecb33c85b08bd96dd6d1fd2c75e556c6107124a9e
parent1ffb9ffb2a455e2e0c24dc6deb2c836eaeb93b7c
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