iio: buffer: rename 'read_first_n' callback to 'read'
authorLars-Peter Clausen <lars@metafoo.de>
Wed, 11 Dec 2019 10:43:00 +0000 (12:43 +0200)
committerJonathan Cameron <Jonathan.Cameron@huawei.com>
Sun, 29 Dec 2019 15:20:09 +0000 (15:20 +0000)
commitf6d4033d2a14b454680585d4ab974d163fcd7a47
treee8f489a361118425a9ff545ec04f6e337f3b2c03
parent4538c185680996d7328beac629dbdb7dd3f8f34e
iio: buffer: rename 'read_first_n' callback to 'read'

It is implied that 'read' will read the first n bytes and not e.g. bytes
only from offsets within the buffer that are a prime number.

This change is non-functional, mostly just a rename.
A secondary intent with this patch is to make room later to add a write
callback.

Signed-off-by: Lars-Peter Clausen <lars@metafoo.de>
Signed-off-by: Alexandru Ardelean <alexandru.ardelean@analog.com>
Signed-off-by: Jonathan Cameron <Jonathan.Cameron@huawei.com>
drivers/iio/buffer/industrialio-buffer-dma.c
drivers/iio/buffer/industrialio-buffer-dmaengine.c
drivers/iio/buffer/kfifo_buf.c
drivers/iio/iio_core.h
drivers/iio/industrialio-buffer.c
drivers/iio/industrialio-core.c
include/linux/iio/buffer_impl.h