diff options
Diffstat (limited to 'drivers/regulator/core.c')
-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 a01954456752..d8e6a429e8ba 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -153,7 +153,7 @@ static int regulator_check_voltage(struct regulator_dev *rdev, | |||
153 | 153 | ||
154 | if (*min_uV > *max_uV) { | 154 | if (*min_uV > *max_uV) { |
155 | rdev_err(rdev, "unsupportable voltage range: %d-%duV\n", | 155 | rdev_err(rdev, "unsupportable voltage range: %d-%duV\n", |
156 | min_uV, max_uV); | 156 | *min_uV, *max_uV); |
157 | return -EINVAL; | 157 | return -EINVAL; |
158 | } | 158 | } |
159 | 159 | ||
@@ -210,7 +210,7 @@ static int regulator_check_current_limit(struct regulator_dev *rdev, | |||
210 | 210 | ||
211 | if (*min_uA > *max_uA) { | 211 | if (*min_uA > *max_uA) { |
212 | rdev_err(rdev, "unsupportable current range: %d-%duA\n", | 212 | rdev_err(rdev, "unsupportable current range: %d-%duA\n", |
213 | min_uA, max_uA); | 213 | *min_uA, *max_uA); |
214 | return -EINVAL; | 214 | return -EINVAL; |
215 | } | 215 | } |
216 | 216 | ||