OSDN Git Service

regulator: set constraints.apply_uV to 0 in of_get_fixed_voltage_config
authorRichard Zhao <richard.zhao@linaro.org>
Wed, 4 Jan 2012 03:07:29 +0000 (11:07 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 6 Jan 2012 19:01:09 +0000 (11:01 -0800)
commit0c437c4ae71c0a8110eb21c06b99853c7056b317
tree48f36f2897baa33955559aa5667324109b0d4075
parent65364e9ab958f4ad21c5c7b6cc8e2e458128dbcb
regulator: set constraints.apply_uV to 0 in of_get_fixed_voltage_config

Fix fixed regulator using DT failed to call regulator_register.

of_get_regulator_init_data set apply_uV to 1, but fixed regulator
doesn't need it. Set it back to 0.

Signed-off-by: Richard Zhao <richard.zhao@linaro.org>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/fixed.c