drivers/regulator: Update WARN uses
authorJoe Perches <joe@perches.com>
Mon, 6 Dec 2010 22:05:19 +0000 (14:05 -0800)
committerLiam Girdwood <lrg@slimlogic.co.uk>
Wed, 12 Jan 2011 14:33:01 +0000 (14:33 +0000)
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>
drivers/regulator/core.c

index a1b1237..5d07e5d 100644 (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 ? */