Skip to content

Commit

Permalink
---
Browse files Browse the repository at this point in the history
yaml
---
r: 219841
b: refs/heads/master
c: b68d58a
h: refs/heads/master
i:
  219839: 4ea709f
v: v3
  • Loading branch information
Manuel Stahl authored and Greg Kroah-Hartman committed Sep 14, 2010
1 parent 090dd3e commit 129fad8
Show file tree
Hide file tree
Showing 2 changed files with 5 additions and 5 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: 3285aae1edd04ffdb6a732f7d90c44f90a7e5d8f
refs/heads/master: b68d58a84b42d6213e46948b8f4cb95b8ed0efec
8 changes: 4 additions & 4 deletions trunk/drivers/staging/iio/accel/sca3000_ring.c
Original file line number Diff line number Diff line change
Expand Up @@ -126,8 +126,8 @@ static ssize_t sca3000_show_ring_bpse(struct device *dev,
{
int len = 0, ret;
u8 *rx;
struct iio_ring_buffer *r = dev_get_drvdata(dev);
struct sca3000_state *st = r->indio_dev->dev_data;
struct iio_dev *indio_dev = dev_get_drvdata(dev);
struct sca3000_state *st = indio_dev->dev_data;

mutex_lock(&st->lock);
ret = sca3000_read_data(st, SCA3000_REG_ADDR_MODE, &rx, 1);
Expand All @@ -153,8 +153,8 @@ static ssize_t sca3000_store_ring_bpse(struct device *dev,
const char *buf,
size_t len)
{
struct iio_ring_buffer *r = dev_get_drvdata(dev);
struct sca3000_state *st = r->indio_dev->dev_data;
struct iio_dev *indio_dev = dev_get_drvdata(dev);
struct sca3000_state *st = indio_dev->dev_data;
int ret;
u8 *rx;
long val;
Expand Down

0 comments on commit 129fad8

Please sign in to comment.