drivers/regulator: Update WARN uses

Align arguments.

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Mark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: Liam Girdwood <lrg@slimlogic.co.uk>
This commit is contained in:
Joe Perches 2010-12-06 14:05:19 -08:00 committed by Liam Girdwood
parent 05fda3b1ab
commit 43e7ee33f2
1 changed files with 1 additions and 2 deletions

View File

@ -1379,8 +1379,7 @@ static int _regulator_disable(struct regulator_dev *rdev,
*supply_rdev_ptr = NULL;
if (WARN(rdev->use_count <= 0,
"unbalanced disables for %s\n",
rdev_get_name(rdev)))
"unbalanced disables for %s\n", rdev_get_name(rdev)))
return -EIO;
/* are we the last user and permitted to disable ? */