diff options
Diffstat (limited to 'drivers')
-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 a1b12379b09f..5d07e5dd417f 100644 --- a/drivers/regulator/core.c +++ b/drivers/regulator/core.c | |||
@@ -1379,8 +1379,7 @@ static int _regulator_disable(struct regulator_dev *rdev, | |||
1379 | *supply_rdev_ptr = NULL; | 1379 | *supply_rdev_ptr = NULL; |
1380 | 1380 | ||
1381 | if (WARN(rdev->use_count <= 0, | 1381 | if (WARN(rdev->use_count <= 0, |
1382 | "unbalanced disables for %s\n", | 1382 | "unbalanced disables for %s\n", rdev_get_name(rdev))) |
1383 | rdev_get_name(rdev))) | ||
1384 | return -EIO; | 1383 | return -EIO; |
1385 | 1384 | ||
1386 | /* are we the last user and permitted to disable ? */ | 1385 | /* are we the last user and permitted to disable ? */ |