From 7a994d85faeff12a2179e9f8c5c7d5e92a87f80e Mon Sep 17 00:00:00 2001 From: Russ Dill Date: Thu, 14 Feb 2013 04:46:33 -0800 Subject: [PATCH] --- yaml --- r: 350406 b: refs/heads/master c: 9c7b4e8a8ad2624106fbf690fa97ab9c8c9bfa88 h: refs/heads/master v: v3 --- [refs] | 2 +- trunk/drivers/regulator/core.c | 4 ++-- 2 files changed, 3 insertions(+), 3 deletions(-) diff --git a/[refs] b/[refs] index 877f50fd95d3..c106053ee5c5 100644 --- a/[refs] +++ b/[refs] @@ -1,2 +1,2 @@ --- -refs/heads/master: f2e5d078f7f02d4289db31f5f63e23e39914075e +refs/heads/master: 9c7b4e8a8ad2624106fbf690fa97ab9c8c9bfa88 diff --git a/trunk/drivers/regulator/core.c b/trunk/drivers/regulator/core.c index abd3a05e8ee2..8d5e491514ee 100644 --- a/trunk/drivers/regulator/core.c +++ b/trunk/drivers/regulator/core.c @@ -200,8 +200,8 @@ static int regulator_check_consumers(struct regulator_dev *rdev, } if (*min_uV > *max_uV) { - dev_err(regulator->dev, "Restricting voltage, %u-%uuV\n", - regulator->min_uV, regulator->max_uV); + rdev_err(rdev, "Restricting voltage, %u-%uuV\n", + *min_uV, *max_uV); return -EINVAL; }