mirror of
https://github.com/torvalds/linux.git
synced 2024-11-11 06:31:49 +00:00
regulator: fix typo in current units
This patch fixes a typo that incorrectly reports mA numbers as uA. Signed-off-by: Cyril Chemparathy <cyril@ti.com> Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com> Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
parent
ad7725cb43
commit
e4a6376b3b
@ -700,7 +700,7 @@ static void print_constraints(struct regulator_dev *rdev)
|
||||
constraints->min_uA != constraints->max_uA) {
|
||||
ret = _regulator_get_current_limit(rdev);
|
||||
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)
|
||||
|
Loading…
Reference in New Issue
Block a user