regulator: sm5703: Fix missing n_voltages for fixed regulators
authorAxel Lin <axel.lin@ingics.com>
Sun, 9 Apr 2023 02:55:29 +0000 (10:55 +0800)
committerMark Brown <broonie@kernel.org>
Tue, 11 Apr 2023 11:41:59 +0000 (12:41 +0100)
commit7c7504067c709905fc188c61ac3072d6022d1209
treefe3cf4781666f58a1628c3a6960ed3e3eef86c65
parentc5d5b55b3c1a314137a251efc1001dfd435c6242
regulator: sm5703: Fix missing n_voltages for fixed regulators

Set n_voltages = 1 for fixed regulators.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Reviewed-by: Markuss Broks <markuss.broks@gmail.com>
Link: https://lore.kernel.org/r/20230409025529.241699-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/sm5703-regulator.c