diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-08-30 11:41:14 (GMT) |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-06 23:00:28 (GMT) |
commit | c009f7e42617bd52b61a35de621cd1deda08042b (patch) | |
tree | dcb9af02913b8c6039a05b0c50e6e468c9ca33d4 /drivers/staging/iio/accel/sca3000_core.c | |
parent | 6446e9cd2c1658f0afe856dfbe0b4623db39fb46 (diff) | |
download | linux-c009f7e42617bd52b61a35de621cd1deda08042b.tar.xz |
staging:iio:buffering cleanup ring_buffer_register_ex naming.
Now the old method is long gone, lets get rid of the _ex and whilst
here remove the unused id parameter.
Trivial mechanical change, but will break any out of tree drivers
using this.
V2: rebase
V3: rebase
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/sca3000_core.c')
-rw-r--r-- | drivers/staging/iio/accel/sca3000_core.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/drivers/staging/iio/accel/sca3000_core.c b/drivers/staging/iio/accel/sca3000_core.c index 4490200..8281d66 100644 --- a/drivers/staging/iio/accel/sca3000_core.c +++ b/drivers/staging/iio/accel/sca3000_core.c @@ -1156,9 +1156,9 @@ static int __devinit sca3000_probe(struct spi_device *spi) if (ret < 0) goto error_free_dev; regdone = 1; - ret = iio_ring_buffer_register_ex(indio_dev, 0, - sca3000_channels, - ARRAY_SIZE(sca3000_channels)); + ret = iio_ring_buffer_register(indio_dev, + sca3000_channels, + ARRAY_SIZE(sca3000_channels)); if (ret < 0) goto error_unregister_dev; if (spi->irq && gpio_is_valid(irq_to_gpio(spi->irq)) > 0) { |