aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/accel/lis3l02dq_ring.c
diff options
context:
space:
mode:
authorJonathan Cameron <jic23@cam.ac.uk>2011-09-21 06:15:53 -0400
committerGreg Kroah-Hartman <gregkh@suse.de>2011-09-26 20:31:52 -0400
commit3b99fb7656a73d483b00fd4777646c00db16b040 (patch)
tree52ca6e05d9cb04ed7d3a8d9e7c13b7c292ee902f /drivers/staging/iio/accel/lis3l02dq_ring.c
parent0baf29d658c71e39f5d7f83249af2fe6a8cd1dcb (diff)
staging:iio: treewide rename iio_triggered_ring_* to iio_triggered_buffer_*
Not always a ring so naming is missleading. Also, kfifo_buf is probably first buffer to take out of staging and it definitely isn't a ring. Signed-off-by: Jonathan Cameron <jic23@cam.ac.uk> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/iio/accel/lis3l02dq_ring.c')
-rw-r--r--drivers/staging/iio/accel/lis3l02dq_ring.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/accel/lis3l02dq_ring.c b/drivers/staging/iio/accel/lis3l02dq_ring.c
index c8169338b27..eaecda4d658 100644
--- a/drivers/staging/iio/accel/lis3l02dq_ring.c
+++ b/drivers/staging/iio/accel/lis3l02dq_ring.c
@@ -386,7 +386,7 @@ static int lis3l02dq_ring_postenable(struct iio_dev *indio_dev)
386 if (ret) 386 if (ret)
387 goto error_ret; 387 goto error_ret;
388 388
389 return iio_triggered_ring_postenable(indio_dev); 389 return iio_triggered_buffer_postenable(indio_dev);
390error_ret: 390error_ret:
391 return ret; 391 return ret;
392} 392}
@@ -397,7 +397,7 @@ static int lis3l02dq_ring_predisable(struct iio_dev *indio_dev)
397 u8 t; 397 u8 t;
398 int ret; 398 int ret;
399 399
400 ret = iio_triggered_ring_predisable(indio_dev); 400 ret = iio_triggered_buffer_predisable(indio_dev);
401 if (ret) 401 if (ret)
402 goto error_ret; 402 goto error_ret;
403 403