diff options
author | 2010-05-04 14:43:08 +0100 | |
---|---|---|
committer | 2010-05-11 11:36:06 -0700 | |
commit | 758d988ce089ac7345bc03a9116b5ebf10dbfa9e (patch) | |
tree | 6ed5c5e8e1b0ffbc1698b7bdee8d3bb90391bbd3 /drivers/staging/iio/accel/sca3000_core.c | |
parent | staging:iio:tsl2563: change lux to illuminance0_input to match new abi (diff) | |
download | linux-758d988ce089ac7345bc03a9116b5ebf10dbfa9e.tar.gz linux-758d988ce089ac7345bc03a9116b5ebf10dbfa9e.tar.bz2 linux-758d988ce089ac7345bc03a9116b5ebf10dbfa9e.zip |
staging:iio: Remove naming via IDR's where no longer necessary under new abi.
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 | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/drivers/staging/iio/accel/sca3000_core.c b/drivers/staging/iio/accel/sca3000_core.c index 45e47776d913..9485b132f6dd 100644 --- a/drivers/staging/iio/accel/sca3000_core.c +++ b/drivers/staging/iio/accel/sca3000_core.c @@ -1338,7 +1338,7 @@ static int __devinit __sca3000_probe(struct spi_device *spi, if (ret < 0) goto error_free_dev; regdone = 1; - ret = iio_ring_buffer_register(st->indio_dev->ring); + ret = iio_ring_buffer_register(st->indio_dev->ring, 0); if (ret < 0) goto error_unregister_dev; if (spi->irq && gpio_is_valid(irq_to_gpio(spi->irq)) > 0) { |