]> git.baikalelectronics.ru Git - kernel.git/commit
regulator: 88pm800: Add missing n_voltages setting for bucks
authorAxel Lin <axel.lin@ingics.com>
Fri, 19 Jul 2013 05:06:22 +0000 (13:06 +0800)
committerMark Brown <broonie@linaro.org>
Fri, 19 Jul 2013 18:08:37 +0000 (19:08 +0100)
commitf8af2295db0c0d544798afe20cf586603b6b8895
treeb03364d11eb0250c0449ec65c572507e1cf7dd75
parent7da5a348eb4bacfc6b13d07f90e77db7a88368dd
regulator: 88pm800: Add missing n_voltages setting for bucks

Some regulator APIs are broken if n_voltages setting is not set.
e.g. regulator_count_voltages(), regulator_list_voltage(), and
regulator_can_change_voltage() do not work if n_voltages setting is missing.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/88pm800.c