diff options
author | Joe Perches <joe@perches.com> | 2010-12-06 14:05:19 -0800 |
---|---|---|
committer | Liam Girdwood <lrg@slimlogic.co.uk> | 2011-01-12 14:33:01 +0000 |
commit | 43e7ee33f2a8d20238267b789791386739247478 (patch) | |
tree | 3c87219e2a8150e225a21dfa14614bc621018832 /drivers/regulator | |
parent | 05fda3b1abc23d832144e9497fb218870927d645 (diff) | |
download | kernel_samsung_smdk4412-43e7ee33f2a8d20238267b789791386739247478.zip kernel_samsung_smdk4412-43e7ee33f2a8d20238267b789791386739247478.tar.gz kernel_samsung_smdk4412-43e7ee33f2a8d20238267b789791386739247478.tar.bz2 |
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>
Diffstat (limited to 'drivers/regulator')
-rw-r--r-- | drivers/regulator/core.c | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/drivers/regulator/core.c b/drivers/regulator/core.c index a1b1237..5d07e5d 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c @@ -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 ? */ |