regulator: bcm590xx: Set n_voltages for linear reg
authorTim Kryger <tim.kryger@linaro.org>
Thu, 10 Apr 2014 20:04:00 +0000 (13:04 -0700)
committerMark Brown <broonie@linaro.org>
Thu, 10 Apr 2014 22:10:36 +0000 (23:10 +0100)
commit1e7914058e3533d905618dd00a36499c8d29e7be
tree39e4df315f2dc6493696657170c6292a767e77f1
parent5481b348e80fb280ff9eaa17ad99a5b592c7e145
regulator: bcm590xx: Set n_voltages for linear reg

Fix the macro used to define linear range regulators to include the
number of voltages.

Signed-off-by: Tim Kryger <tim.kryger@linaro.org>
Acked-by: Matt Porter <mporter@linaro.org>
Signed-off-by: Mark Brown <broonie@linaro.org>
drivers/regulator/bcm590xx-regulator.c