Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 323311
b: refs/heads/master
c: f2889e6
h: refs/heads/master
i:
  323309: 1b94f8c
  323307: e6c3c2e
  323303: fbe18d1
  323295: 21bf666
v: v3
  • Loading branch information
Mark Brown committed Sep 7, 2012
1 parent 8c32722 commit 4a521fa
Show file tree
Hide file tree
Showing 2 changed files with 3 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: 380a0e6f72e8d0211f48c24f293a366a53b374d7
refs/heads/master: f2889e650a8dbd51644997aef7bae71d6ac4d423
3 changes: 2 additions & 1 deletion trunk/drivers/regulator/core.c
Original file line number Diff line number Diff line change
Expand Up @@ -3020,7 +3020,8 @@ static int add_regulator_attributes(struct regulator_dev *rdev)

/* some attributes need specific methods to be displayed */
if ((ops->get_voltage && ops->get_voltage(rdev) >= 0) ||
(ops->get_voltage_sel && ops->get_voltage_sel(rdev) >= 0)) {
(ops->get_voltage_sel && ops->get_voltage_sel(rdev) >= 0) ||
(ops->list_voltage && ops->list_voltage(rdev, 0) >= 0)) {
status = device_create_file(dev, &dev_attr_microvolts);
if (status < 0)
return status;
Expand Down

0 comments on commit 4a521fa

Please sign in to comment.