regulator: Return an error from stubbed regulator_get_exclusive()
authorMark Brown <broonie@kernel.org>
Fri, 24 Oct 2014 20:56:58 +0000 (21:56 +0100)
committerMark Brown <broonie@kernel.org>
Fri, 24 Oct 2014 21:19:12 +0000 (22:19 +0100)
commit70b946f9acf4e805361bd877a7e25cc05e497c52
tree7e53be11b7467696d3cc6d0e4135b83686d61857
parentf114040e3ea6e07372334ade75d1ee0775c355e1
regulator: Return an error from stubbed regulator_get_exclusive()

The user hasn't got a regulator and shouldn't be mislead into thinking
they have one; really we should probably remove this stub entirely (and
may well before the next merge window).

Signed-off-by: Mark Brown <broonie@kernel.org>
include/linux/regulator/consumer.h