Skip to content
Commit 7305608b authored by Axel Lin's avatar Axel Lin Committed by Mark Brown
Browse files

regulator: max8907: Fix n_voltages for MAX8907B SD1



For linear voltage mapping, the n_voltages is (max - min) / step + 1

Signed-off-by: default avatarAxel Lin <axel.lin@gmail.com>
Acked-by: default avatarStephen Warren <swarren@wwwdotorg.org>
Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
parent 8f52a580
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment