regulator: fix typo in current units
authorCyril Chemparathy <cyril@ti.com>
Wed, 22 Sep 2010 16:30:15 +0000 (12:30 -0400)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Sat, 2 Oct 2010 11:50:31 +0000 (12:50 +0100)
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>
drivers/regulator/core.c

index a43eedb214bb3f1d5968fc56243cc0b7f97179de..cc8b337b9119de5e955aabe1935ad931a895c71a 100644 (file)
@@ -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)