summaryrefslogtreecommitdiffstats
path: root/net/802
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@gmail.com>2011-05-23 20:08:10 +0800
committerLiam Girdwood <lrg@slimlogic.co.uk>2011-05-27 10:49:30 +0100
commitcb220d16f91f8d5fa1450c7af17e028e8cb3f0f1 (patch)
tree98af3e7e811980be3608c1c4b7506fb73d74d21c /net/802
parent5ccee4ae8eab957ab6d534283db5bd27703dba03 (diff)
downloadblackbird-op-linux-cb220d16f91f8d5fa1450c7af17e028e8cb3f0f1.tar.gz
blackbird-op-linux-cb220d16f91f8d5fa1450c7af17e028e8cb3f0f1.zip
regulator: Fix _regulator_get_voltage if get_voltage callback is NULL
In the case of get_voltage callback is NULL, current implementation in _regulator_get_voltage will return -EINVAL. Also returns proper error if ret is negative value. Signed-off-by: Axel Lin <axel.lin@gmail.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'net/802')
0 files changed, 0 insertions, 0 deletions
OpenPOWER on IntegriCloud