Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 185665
b: refs/heads/master
c: 9a7f6a4
h: refs/heads/master
i:
  185663: 7834d4c
v: v3
  • Loading branch information
Mark Brown authored and Liam Girdwood committed Mar 3, 2010
1 parent 0d1cdc5 commit 582b948
Show file tree
Hide file tree
Showing 2 changed files with 3 additions and 3 deletions.
2 changes: 1 addition & 1 deletion [refs]
Original file line number Diff line number Diff line change
@@ -1,2 +1,2 @@
---
refs/heads/master: 17133dc82422cb118c843c3e9bbd565c37506ec8
refs/heads/master: 9a7f6a4c6edc84748c6477c9df56691a0e61b8fd
4 changes: 2 additions & 2 deletions trunk/drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -1466,9 +1466,9 @@ EXPORT_SYMBOL_GPL(regulator_force_disable);

static int _regulator_is_enabled(struct regulator_dev *rdev)
{
/* sanity check */
/* If we don't know then assume that the regulator is always on */
if (!rdev->desc->ops->is_enabled)
return -EINVAL;
return 1;

return rdev->desc->ops->is_enabled(rdev);
}
Expand Down

0 comments on commit 582b948

Please sign in to comment.