Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 304683
b: refs/heads/master
c: dedb1e7
h: refs/heads/master
i:
  304681: 3976877
  304679: 07c5539
v: v3
  • Loading branch information
Lars-Peter Clausen authored and Greg Kroah-Hartman committed May 14, 2012
1 parent f1ece05 commit fccb29d
Show file tree
Hide file tree
Showing 2 changed files with 4 additions and 4 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: ba86dc46b80e6907b05dd1c7bc1e88f3dacde2dc
refs/heads/master: dedb1e77aabaad8d91c1aad5f92f127cecd27c3f
6 changes: 3 additions & 3 deletions trunk/drivers/staging/iio/imu/adis16400_core.c
Original file line number Diff line number Diff line change
Expand Up @@ -179,7 +179,7 @@ static ssize_t adis16400_read_frequency(struct device *dev,
struct device_attribute *attr,
char *buf)
{
struct iio_dev *indio_dev = dev_get_drvdata(dev);
struct iio_dev *indio_dev = dev_to_iio_dev(dev);
int ret, len = 0;
ret = adis16400_get_freq(indio_dev);
if (ret < 0)
Expand Down Expand Up @@ -225,7 +225,7 @@ static ssize_t adis16400_write_frequency(struct device *dev,
const char *buf,
size_t len)
{
struct iio_dev *indio_dev = dev_get_drvdata(dev);
struct iio_dev *indio_dev = dev_to_iio_dev(dev);
struct adis16400_state *st = iio_priv(indio_dev);
long val;
int ret;
Expand Down Expand Up @@ -279,7 +279,7 @@ static ssize_t adis16400_write_reset(struct device *dev,
if (ret < 0)
return ret;
if (val) {
ret = adis16400_reset(dev_get_drvdata(dev));
ret = adis16400_reset(dev_to_iio_dev(dev));
if (ret < 0)
return ret;
}
Expand Down

0 comments on commit fccb29d

Please sign in to comment.