regulator: mc13xxx: Fix voltage checking for mc13xxx_fixed_regulator_set_voltage
commitee5e6253ac22210da892435711890fa2272daa41
authorAxel Lin <axel.lin@gmail.com>
Fri, 8 Jun 2012 07:39:34 +0000 (8 15:39 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Sun, 17 Jun 2012 20:01:21 +0000 (17 21:01 +0100)
tree067bec34854e22272acd182b597d3fc03ac03251
parente08ef739feec5341fe9382a9f5173ddd56c95f93
regulator: mc13xxx: Fix voltage checking for mc13xxx_fixed_regulator_set_voltage

The voltage range checking should be to ensure mc13xxx_regulators[id].voltages[0]
falls with min_uV and max_uV.

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