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)
commit69c3f7239e29216fbf92a39c86b4e9cc63cd6d74
treecb33c85b08bd96dd6d1fd2c75e556c6107124a9e
parent366986274c548261c42d5ca24391cb4eef3008c2
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