OSDN Git Service

regulator: tps6287x: Fix missing .n_voltages setting
authorAxel Lin <axel.lin@ingics.com>
Tue, 16 May 2023 08:23:33 +0000 (16:23 +0800)
committerMark Brown <broonie@kernel.org>
Wed, 17 May 2023 01:38:20 +0000 (10:38 +0900)
commit15a1cd245d5b3cc6cf42ca9ceacf9a6dfc2e33b4
treeb58c9ef27e759fdd4a4f7fe5232069dadd33eeb3
parentcf27b7d9a574f3383be0ed1953cceda9a715eb51
regulator: tps6287x: Fix missing .n_voltages setting

Otherwise, regulator_list_voltage() will return -EINVAL.

Signed-off-by: Axel Lin <axel.lin@ingics.com
Link: https://lore.kernel.org/r/20230516082333.466429-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org
drivers/regulator/tps6287x-regulator.c