diff options
author | Axel Lin <axel.lin@ingics.com> | 2021-06-29 15:05:01 +0200 |
---|---|---|
committer | Mark Brown <broonie@kernel.org> | 2021-07-12 00:50:35 +0200 |
commit | b99b7b79a7c57d5f1550b9a507521c791c5f92ed (patch) | |
tree | 213e683fa67f7e1c82411e5ab7b678fec52c66a8 /drivers/regulator/mt6359-regulator.c | |
parent | Merge existing fixes from regulator/for-5.14 (diff) | |
download | linux-b99b7b79a7c57d5f1550b9a507521c791c5f92ed.tar.xz linux-b99b7b79a7c57d5f1550b9a507521c791c5f92ed.zip |
regulator: mt6358: Remove shift fields from struct mt6358_regulator_info
The shift setting can be calculated via the corresponding mask field,
so remove these shift fields.
The usage of da_vsel_mask is different from other mask defines because
current code does shift regval before mask with the da_vsel_mask.
Do proper shit to da_vsel_mask setting so we can calculate the shift.
Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210629130503.2183574-1-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Diffstat (limited to 'drivers/regulator/mt6359-regulator.c')
0 files changed, 0 insertions, 0 deletions