Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 350412
b: refs/heads/master
c: 896b65f
h: refs/heads/master
v: v3
  • Loading branch information
Michał Mirosław authored and Mark Brown committed Feb 4, 2013
1 parent ecb940d commit 2003a27
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 2 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: a451405fcdf4048aa46c80ede25b36eba27ba3ec
refs/heads/master: 896b65f3453d434983969e3ee7c254f4f8ba1424
2 changes: 1 addition & 1 deletion trunk/drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3208,7 +3208,7 @@ static int add_regulator_attributes(struct regulator_dev *rdev)
if (status < 0)
return status;
}
if (ops->is_enabled) {
if (rdev->ena_gpio || ops->is_enabled) {
status = device_create_file(dev, &dev_attr_state);
if (status < 0)
return status;
Expand Down

0 comments on commit 2003a27

Please sign in to comment.