Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 348716
b: refs/heads/master
c: 8434e78
h: refs/heads/master
v: v3
  • Loading branch information
Axel Lin authored and Jonathan Cameron committed Dec 27, 2012
1 parent 2e80b04 commit ee00ad9
Show file tree
Hide file tree
Showing 2 changed files with 6 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: 0ce2fdaa97c6a8d84e9fce3d920a45a493145623
refs/heads/master: 8434e7856551015650f62afa48e8f9e9b4bf80f2
6 changes: 5 additions & 1 deletion trunk/drivers/iio/dac/ad5624r_spi.c
Original file line number Diff line number Diff line change
Expand Up @@ -238,7 +238,11 @@ static int __devinit ad5624r_probe(struct spi_device *spi)
if (ret)
goto error_put_reg;

voltage_uv = regulator_get_voltage(st->reg);
ret = regulator_get_voltage(st->reg);
if (ret < 0)
goto error_disable_reg;

voltage_uv = ret;
}

spi_set_drvdata(spi, indio_dev);
Expand Down

0 comments on commit ee00ad9

Please sign in to comment.