regulator: bd71837: Remove duplicate assignment for n_voltages of LDO2
authorAxel Lin <axel.lin@ingics.com>
Fri, 24 Aug 2018 11:16:12 +0000 (19:16 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 28 Aug 2018 18:58:54 +0000 (19:58 +0100)
commit61b2e6741e81226c29a5ed92fd886f11efb78e98
treede0adbc216152d7cc0e178cf8cc028f054abc405
parent46942b21a95ffd1476c82b3a8683a1caa58b6f40
regulator: bd71837: Remove duplicate assignment for n_voltages of LDO2

Set it once is enough.
Also move n_voltages close to volt_table for better readability.

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