hc
2024-12-19 9370bb92b2d16684ee45cf24e879c93c509162da
kernel/drivers/iio/buffer/industrialio-buffer-dma.c
....@@ -1,8 +1,7 @@
1
+// SPDX-License-Identifier: GPL-2.0-only
12 /*
23 * Copyright 2013-2015 Analog Devices Inc.
34 * Author: Lars-Peter Clausen <lars@metafoo.de>
4
- *
5
- * Licensed under the GPL-2.
65 */
76
87 #include <linux/slab.h>
....@@ -13,7 +12,6 @@
1312 #include <linux/mutex.h>
1413 #include <linux/sched.h>
1514 #include <linux/poll.h>
16
-#include <linux/iio/buffer.h>
1715 #include <linux/iio/buffer_impl.h>
1816 #include <linux/iio/buffer-dma.h>
1917 #include <linux/dma-mapping.h>
....@@ -477,7 +475,7 @@
477475 * @n: Number of bytes to read
478476 * @user_buffer: Userspace buffer to copy the data to
479477 *
480
- * Should be used as the read_first_n callback for iio_buffer_access_ops
478
+ * Should be used as the read callback for iio_buffer_access_ops
481479 * struct for DMA buffers.
482480 */
483481 int iio_dma_buffer_read(struct iio_buffer *buffer, size_t n,