diff options
author | Mark Brown <broonie@opensource.wolfsonmicro.com> | 2011-07-21 15:07:37 +0100 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-07-22 11:46:57 +0100 |
commit | 54abd335fda86d305845f9e62b4bc0997386eb66 (patch) | |
tree | a8e90ea9a296097ad793f35d9ed681cdbc69524d /drivers/regulator | |
parent | 1a6958e79f9e191c89fe0c13f7452b0bd8097050 (diff) |
regulator: Fix argument format type errors in error prints
We need to dereference the pointers to print their values.
Signed-off-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/core.c | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index a0195445675..d8e6a429e8b 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -153,7 +153,7 @@ static int regulator_check_voltage(struct regulator_dev *rdev, if (*min_uV > *max_uV) { rdev_err(rdev, "unsupportable voltage range: %d-%duV\n", - min_uV, max_uV); + *min_uV, *max_uV); return -EINVAL; } @@ -210,7 +210,7 @@ static int regulator_check_current_limit(struct regulator_dev *rdev, if (*min_uA > *max_uA) { rdev_err(rdev, "unsupportable current range: %d-%duA\n", - min_uA, max_uA); + *min_uA, *max_uA); return -EINVAL; } |