From: Cyril Chemparathy Date: Wed, 22 Sep 2010 16:30:15 +0000 (-0400) Subject: regulator: fix typo in current units X-Git-Url: https://git.stricted.de/?a=commitdiff_plain;h=e4a6376b3b2999d169b602a582a8819d95ff79bc;p=GitHub%2Fmt8127%2Fandroid_kernel_alcatel_ttab.git regulator: fix typo in current units This patch fixes a typo that incorrectly reports mA numbers as uA. Signed-off-by: Cyril Chemparathy Acked-by: Mark Brown Signed-off-by: Liam Girdwood --- 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)