regulator: mt6397: Remove modeset_shift from struct mt6397_regulator_info
authorAxel Lin <axel.lin@ingics.com>
Tue, 29 Jun 2021 13:05:03 +0000 (21:05 +0800)
committerMark Brown <broonie@kernel.org>
Sun, 11 Jul 2021 22:50:37 +0000 (23:50 +0100)
commit12401a1cef787167aff52ef2dd28286e61054c38
tree29e28c3e79579823a7ec6e86b70c0d707abf6374
parentd6208ba87066c981589ca41f07d29a5803807ead
regulator: mt6397: Remove modeset_shift from struct mt6397_regulator_info

The shift setting can be calculated via the corresponding mask field,
so remove modeset_shift.

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Link: https://lore.kernel.org/r/20210629130503.2183574-3-axel.lin@ingics.com
Signed-off-by: Mark Brown <broonie@kernel.org>
drivers/regulator/mt6397-regulator.c