Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit c009f7e4 authored by Jonathan Cameron's avatar Jonathan Cameron Committed by Greg Kroah-Hartman
Browse files

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: default avatarJonathan Cameron <jic23@cam.ac.uk>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@suse.de>
parent 6446e9cd
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -497,7 +497,7 @@ static int __devinit adis16201_probe(struct spi_device *spi)
		goto error_unreg_ring_funcs;
	regdone = 1;

	ret = iio_ring_buffer_register_ex(indio_dev, 0,
	ret = iio_ring_buffer_register(indio_dev,
				       adis16201_channels,
				       ARRAY_SIZE(adis16201_channels));
	if (ret) {
+3 −3
Original line number Diff line number Diff line
@@ -451,7 +451,7 @@ static int __devinit adis16203_probe(struct spi_device *spi)
		goto error_unreg_ring_funcs;
	regdone = 1;

	ret = iio_ring_buffer_register_ex(indio_dev, 0,
	ret = iio_ring_buffer_register(indio_dev,
				       adis16203_channels,
				       ARRAY_SIZE(adis16203_channels));
	if (ret) {
+3 −3
Original line number Diff line number Diff line
@@ -526,7 +526,7 @@ static int __devinit adis16204_probe(struct spi_device *spi)
		goto error_unreg_ring_funcs;
	regdone = 1;

	ret = iio_ring_buffer_register_ex(indio_dev, 0,
	ret = iio_ring_buffer_register(indio_dev,
				       adis16204_channels,
				       ARRAY_SIZE(adis16204_channels));
	if (ret) {
+3 −3
Original line number Diff line number Diff line
@@ -499,7 +499,7 @@ static int __devinit adis16209_probe(struct spi_device *spi)
		goto error_unreg_ring_funcs;
	regdone = 1;

	ret = iio_ring_buffer_register_ex(indio_dev, 0,
	ret = iio_ring_buffer_register(indio_dev,
				       adis16209_channels,
				       ARRAY_SIZE(adis16209_channels));
	if (ret) {
+3 −3
Original line number Diff line number Diff line
@@ -552,7 +552,7 @@ static int __devinit adis16240_probe(struct spi_device *spi)
		goto error_unreg_ring_funcs;
	regdone = 1;

	ret = iio_ring_buffer_register_ex(indio_dev, 0,
	ret = iio_ring_buffer_register(indio_dev,
				       adis16240_channels,
				       ARRAY_SIZE(adis16240_channels));
	if (ret) {
Loading