diff options
author | Jonathan Cameron <jic23@cam.ac.uk> | 2011-08-30 12:41:14 +0100 |
---|---|---|
committer | Greg Kroah-Hartman <gregkh@suse.de> | 2011-09-06 16:00:28 -0700 |
commit | c009f7e42617bd52b61a35de621cd1deda08042b (patch) | |
tree | dcb9af02913b8c6039a05b0c50e6e468c9ca33d4 /drivers/staging/iio/industrialio-ring.c | |
parent | 6446e9cd2c1658f0afe856dfbe0b4623db39fb46 (diff) | |
download | op-kernel-dev-c009f7e42617bd52b61a35de621cd1deda08042b.zip op-kernel-dev-c009f7e42617bd52b61a35de621cd1deda08042b.tar.gz |
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/industrialio-ring.c')
-rw-r--r-- | drivers/staging/iio/industrialio-ring.c | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/drivers/staging/iio/industrialio-ring.c b/drivers/staging/iio/industrialio-ring.c index 1607293..947f542 100644 --- a/drivers/staging/iio/industrialio-ring.c +++ b/drivers/staging/iio/industrialio-ring.c @@ -277,9 +277,9 @@ static void __iio_ring_attr_cleanup(struct iio_dev *indio_dev) &iio_scan_el_dummy_group); } -int iio_ring_buffer_register_ex(struct iio_dev *indio_dev, int id, - const struct iio_chan_spec *channels, - int num_channels) +int iio_ring_buffer_register(struct iio_dev *indio_dev, + const struct iio_chan_spec *channels, + int num_channels) { struct iio_ring_buffer *ring = indio_dev->ring; int ret, i; @@ -325,7 +325,7 @@ error_cleanup_dynamic: error_ret: return ret; } -EXPORT_SYMBOL(iio_ring_buffer_register_ex); +EXPORT_SYMBOL(iio_ring_buffer_register); void iio_ring_buffer_unregister(struct iio_dev *indio_dev) { |