aboutsummaryrefslogtreecommitdiff
path: root/drivers/regulator/max597x-regulator.c
diff options
context:
space:
mode:
authorGravatar Axel Lin <axel.lin@ingics.com> 2023-02-11 23:00:19 +0800
committerGravatar Mark Brown <broonie@kernel.org> 2023-02-13 12:45:00 +0000
commit9d1c73191f94c79076b5f46a31b8a1e12b18bc79 (patch)
tree7292b5fd74d075fa6d4fd68d995983d567139c08 /drivers/regulator/max597x-regulator.c
parentregulator: max597x: Remove unused variable (diff)
downloadlinux-9d1c73191f94c79076b5f46a31b8a1e12b18bc79.tar.gz
linux-9d1c73191f94c79076b5f46a31b8a1e12b18bc79.tar.bz2
linux-9d1c73191f94c79076b5f46a31b8a1e12b18bc79.zip
regulator: max20411: Fix off-by-one for n_voltages setting
Otherwise regulator_list_voltage returns -EINVAL for MAX20411_MAX_SEL. Signed-off-by: Axel Lin <axel.lin@ingics.com> Link: https://lore.kernel.org/r/20230211150019.1545542-1-axel.lin@ingics.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/max597x-regulator.c')
0 files changed, 0 insertions, 0 deletions