diff options
author | Cyril Chemparathy <cyril@ti.com> | 2010-09-22 18:30:15 +0200 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2010-10-02 13:50:31 +0200 |
commit | e4a6376b3b2999d169b602a582a8819d95ff79bc (patch) | |
tree | 7613525a8644280e40ab998dc690eeb0ac06f509 /drivers | |
parent | regulator: fix device_register() error handling (diff) | |
download | linux-e4a6376b3b2999d169b602a582a8819d95ff79bc.tar.xz linux-e4a6376b3b2999d169b602a582a8819d95ff79bc.zip |
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>
Diffstat (limited to 'drivers')
-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 a43eedb214bb..cc8b337b9119 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) |