regulator: core: Fix getting input_uV when supplied by another regulator
authorAxel Lin <axel.lin@gmail.com>
Fri, 13 Apr 2012 13:35:05 +0000 (21:35 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Mon, 16 Apr 2012 09:19:30 +0000 (10:19 +0100)
commit3f24f5ada638dd07705bd83ebcc80044d587f374
tree1b01b7577a164ee9abaa87b59870bbc7d1a126d1
parenteba41a5e8c9473c24c333df288d4fd6a40e98464
regulator: core: Fix getting input_uV when supplied by another regulator

When supplied by another regulator, returns the supply regulator's output
voltage for inpu_uV.

Signed-off-by: Axel Lin <axel.lin@gmail.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/core.c