Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit 54abd335 authored by Mark Brown's avatar Mark Brown Committed by Liam Girdwood
Browse files

regulator: Fix argument format type errors in error prints



We need to dereference the pointers to print their values.

Signed-off-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 1a6958e7
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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;
	}