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:
parent
05fda3b1ab
commit
43e7ee33f2
|
@ -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 ? */
|
||||
|
|
Loading…
Reference in New Issue