]> git.proxmox.com Git - mirror_ubuntu-zesty-kernel.git/commit
regulator: tps80031: Implement list_voltage and set n_voltages = 1 for fixed regulators
authorAxel Lin <axel.lin@ingics.com>
Fri, 23 Nov 2012 01:25:54 +0000 (09:25 +0800)
committerMark Brown <broonie@opensource.wolfsonmicro.com>
Fri, 23 Nov 2012 12:13:01 +0000 (21:13 +0900)
commitbf0caae3036563ef84d1dcb7b2c7fcbda59a889d
treea519b5c0e6b8f09405c1d6565e3125338637dce8
parent1a7ae58e2c5feb2c0f35e773223949a8fa672433
regulator: tps80031: Implement list_voltage and set n_voltages = 1 for fixed regulators

Implement list_voltage for fixed regulators, otherwise
regulator_is_supported_voltage() returns 0.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: Laxman Dewangan <ldewangan@nvidia.com>
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
drivers/regulator/tps80031-regulator.c