Commit e4a6376b authored by Cyril Chemparathy's avatar Cyril Chemparathy Committed by Liam Girdwood

regulator: fix typo in current units

This patch fixes a typo that incorrectly reports mA numbers as uA.
Signed-off-by: default avatarCyril Chemparathy <cyril@ti.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent ad7725cb
...@@ -700,7 +700,7 @@ static void print_constraints(struct regulator_dev *rdev) ...@@ -700,7 +700,7 @@ static void print_constraints(struct regulator_dev *rdev)
constraints->min_uA != constraints->max_uA) { constraints->min_uA != constraints->max_uA) {
ret = _regulator_get_current_limit(rdev); ret = _regulator_get_current_limit(rdev);
if (ret > 0) if (ret > 0)
count += sprintf(buf + count, "at %d uA ", ret / 1000); count += sprintf(buf + count, "at %d mA ", ret / 1000);
} }
if (constraints->valid_modes_mask & REGULATOR_MODE_FAST) if (constraints->valid_modes_mask & REGULATOR_MODE_FAST)
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment