summaryrefslogtreecommitdiffstats
path: root/drivers/staging/iio/ring_sw.c
diff options
context:
space:
mode:
authorJustin P. Mattock <justinmattock@gmail.com>2012-02-29 22:00:38 -0800
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2012-03-02 16:33:52 -0800
commit4abf6f8b29e37f492078173a9d4cb808ce327ec0 (patch)
treede11508f4da46792d75159752ed53eb456e91ac3 /drivers/staging/iio/ring_sw.c
parent92a6253299d74833a36edb94d5a4bc541418b17a (diff)
downloadlinux-stable-4abf6f8b29e37f492078173a9d4cb808ce327ec0.tar.gz
linux-stable-4abf6f8b29e37f492078173a9d4cb808ce327ec0.tar.bz2
linux-stable-4abf6f8b29e37f492078173a9d4cb808ce327ec0.zip
drivers:staging:iio Fix typos and comments in staging iio.
The below patch fixes some comments and some typos that I have found while reading drivers/staging/iio/* Signed-off-by: Justin P. Mattock <justinmattock@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/iio/ring_sw.c')
-rw-r--r--drivers/staging/iio/ring_sw.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/drivers/staging/iio/ring_sw.c b/drivers/staging/iio/ring_sw.c
index eeac0daf47bd..b9945ec44faa 100644
--- a/drivers/staging/iio/ring_sw.c
+++ b/drivers/staging/iio/ring_sw.c
@@ -147,7 +147,7 @@ static int iio_read_first_n_sw_rb(struct iio_buffer *r,
size_t data_available, buffer_size;
/* A userspace program has probably made an error if it tries to
- * read something that is not a whole number of bpds.
+ * read something that is not a whole number of bpds.
* Return an error.
*/
if (n % ring->buf.bytes_per_datum) {
@@ -229,7 +229,7 @@ static int iio_read_first_n_sw_rb(struct iio_buffer *r,
/* setup the next read position */
/* Beware, this may fail due to concurrency fun and games.
- * Possible that sufficient fill commands have run to push the read
+ * Possible that sufficient fill commands have run to push the read
* pointer past where we would be after the rip. If this occurs, leave
* it be.
*/