Skip to content

Commit e4a6376

Browse files
cchemparathyLiam Girdwood
authored and
Liam Girdwood
committed
regulator: fix typo in current units
This patch fixes a typo that incorrectly reports mA numbers as uA. Signed-off-by: Cyril Chemparathy <[email protected]> Acked-by: Mark Brown <[email protected]> Signed-off-by: Liam Girdwood <[email protected]>
1 parent ad7725c commit e4a6376

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

drivers/regulator/core.c

+1-1
Original file line numberDiff line numberDiff line change
@@ -700,7 +700,7 @@ static void print_constraints(struct regulator_dev *rdev)
700700
constraints->min_uA != constraints->max_uA) {
701701
ret = _regulator_get_current_limit(rdev);
702702
if (ret > 0)
703-
count += sprintf(buf + count, "at %d uA ", ret / 1000);
703+
count += sprintf(buf + count, "at %d mA ", ret / 1000);
704704
}
705705

706706
if (constraints->valid_modes_mask & REGULATOR_MODE_FAST)

0 commit comments

Comments
 (0)