summaryrefslogtreecommitdiff
path: root/drivers/regulator/ltc3589.c
diff options
context:
space:
mode:
authorAxel Lin <axel.lin@ingics.com>2021-06-06 14:50:52 +0800
committerMark Brown <broonie@kernel.org>2021-06-07 16:24:09 +0100
commit73d4ae57f82ec1e5fc92b9acd25bb1db2f8cf8e3 (patch)
treef42c79be54f49a589fb3b13b10fe89e268b7bf29 /drivers/regulator/ltc3589.c
parent5a5e31150c9ecdb76d3f87ed852f5c650d70c7d2 (diff)
downloadlwn-73d4ae57f82ec1e5fc92b9acd25bb1db2f8cf8e3.tar.gz
lwn-73d4ae57f82ec1e5fc92b9acd25bb1db2f8cf8e3.zip
regulator: mt6359: Get rid of linear_range tables
The MT6359_BUCK and MT6359_LDO_LINEAR macros setup both linear settings (min_uV, uV_step, linear_min_sel) and linar_range (linear_ranges, n_linear_ranges) settings. All the linear range tables actually only has one entry. Let's simplify it by using linear instead of linear range. The linear_min_sel setting is 0 for all cases, remove it from the macros. Signed-off-by: Axel Lin <axel.lin@ingics.com> Link: https://lore.kernel.org/r/20210606065052.1417111-3-axel.lin@ingics.com Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/ltc3589.c')
0 files changed, 0 insertions, 0 deletions