diff options
author | Fabien Parent <fparent@baylibre.com> | 2022-05-29 17:46:13 +0200 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | 2022-06-14 18:36:13 +0200 |
commit | cedca5b2f08bc706ad426d45c022d50ab12d58d0 (patch) | |
tree | 219646fcf1e390a832004111abdedd755376d164 /drivers/gpio | |
parent | 66e2bf4b2cefd0758bdcf47734e3471430c121db (diff) |
regulator: mt6315-regulator: fix invalid allowed mode
[ Upstream commit 28cbc2d4c54c09a427b18a1604740efb6b2cc2d6 ]
In the binding example, the regulator mode 4 is shown as a valid mode,
but the driver actually only support mode 0 to 2:
This generates an error in dmesg when copy/pasting the binding example:
[ 0.306080] vbuck1: invalid regulator-allowed-modes element 4
[ 0.307290] vbuck2: invalid regulator-allowed-modes element 4
This commit fixes this error by removing the invalid mode from the
examples.
Fixes: 977fb5b58469 ("regulator: document binding for MT6315 regulator")
Signed-off-by: Fabien Parent <fparent@baylibre.com>
Link: https://lore.kernel.org/r/20220529154613.337559-1-fparent@baylibre.com
Signed-off-by: Mark Brown <broonie@kernel.org>
Signed-off-by: Sasha Levin <sashal@kernel.org>
Diffstat (limited to 'drivers/gpio')
0 files changed, 0 insertions, 0 deletions