diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-09-22 16:30:15 (GMT) |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-10-02 11:50:31 (GMT) |
commit | e4a6376b3b2999d169b602a582a8819d95ff79bc (patch) | |
tree | 7613525a8644280e40ab998dc690eeb0ac06f509 | |
parent | ad7725cb43b8badb2fec2c2bfca07c067f2e19a7 (diff) | |
download | linux-fsl-qoriq-e4a6376b3b2999d169b602a582a8819d95ff79bc.tar.xz |
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>
-rw-r--r-- | drivers/regulator/core.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index a43eedb..cc8b337 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -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) |