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; }