Commit 43e7ee33 authored by Joe Perches's avatar Joe Perches Committed by Liam Girdwood

drivers/regulator: Update WARN uses

Align arguments.
Signed-off-by: default avatarJoe Perches <joe@perches.com>
Acked-by: default avatarMark Brown <broonie@opensource.wolfsonmicro.com>
Signed-off-by: default avatarLiam Girdwood <lrg@slimlogic.co.uk>
parent 05fda3b1
...@@ -1379,8 +1379,7 @@ static int _regulator_disable(struct regulator_dev *rdev, ...@@ -1379,8 +1379,7 @@ static int _regulator_disable(struct regulator_dev *rdev,
*supply_rdev_ptr = NULL; *supply_rdev_ptr = NULL;
if (WARN(rdev->use_count <= 0, if (WARN(rdev->use_count <= 0,
"unbalanced disables for %s\n", "unbalanced disables for %s\n", rdev_get_name(rdev)))
rdev_get_name(rdev)))
return -EIO; return -EIO;
/* are we the last user and permitted to disable ? */ /* are we the last user and permitted to disable ? */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment