Skip to contentSkip to conversation

iio: fix typo in userspace example codes and document

PATCH In review Barry Song 2 participants 2 messages Apr 26, 2010

Subsystems (3)
lore
Share & tools
lore

Barry Song

author
#0 lore raw

PATCH 1/1 iio: fix typo in userspace example codes and document

---
 .../iio/Documentation/lis3l02dqbuffersimple.c      |    2 +-
 drivers/staging/iio/Documentation/userspace.txt    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c +1 -1
index 2b5cfc5..811dd14 100644
@@ -20,7 +20,7 @@
 
 #include <linux/types.h>
 #include <dirent.h>
-#include "iio_util.h"
+#include "iio_utils.h"
 
 static const char *ring_access = "/dev/iio/lis3l02dq_ring_access";
 static const char *ring_event = "/dev/iio/lis3l02dq_ring_event";
drivers/staging/iio/Documentation/userspace.txt +1 -1
index 661015a..4838818 100644
@@ -56,5 +56,5 @@ KERNEL="ring_event_line*", ID="spi1.0", DRIVER="lis3l02dq", NAME="iio/lis3l02dq_
 KERNEL="event_line*", ID="spi1.0", DRIVER="lis3l02dq", NAME="iio/lis3l02dq_event"
 KERNEL="ring_access*", ID="spi1.0", DRIVER="lis3l02dq", NAME="iio/lis3l02dq_ring_access"
 
-The files, lis3l02dqbuffersimple.c and iio_util.h in this directory provide an example
+The files, lis3l02dqbuffersimple.c and iio_utils.h in this directory provide an example
 of how to use the ring buffer and event interfaces.
Signature · 1 line
1.5.6.3
Acked-by on v1 1/1
#1 lore raw
Quoted 1 line · Barry Song

Thanks Barry. Ironically I rewrote this example yesterday to match the new abi (though I hadn't noticed the documentation error!).
Still worth merging this as it may be a little while before everyone is happy with that patch set. Will hopefully post a new revision of that later today.

Quoted 29 lines
---
 .../iio/Documentation/lis3l02dqbuffersimple.c      |    2 +-
 drivers/staging/iio/Documentation/userspace.txt    |    2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)
drivers/staging/iio/Documentation/lis3l02dqbuffersimple.c +1 -1
index 2b5cfc5..811dd14 100644
@@ -20,7 +20,7 @@
 
 #include <linux/types.h>
 #include <dirent.h>
-#include "iio_util.h"
+#include "iio_utils.h"
 
 static const char *ring_access = "/dev/iio/lis3l02dq_ring_access";
 static const char *ring_event = "/dev/iio/lis3l02dq_ring_event";
drivers/staging/iio/Documentation/userspace.txt +1 -1
index 661015a..4838818 100644
@@ -56,5 +56,5 @@ KERNEL="ring_event_line*", ID="spi1.0", DRIVER="lis3l02dq", NAME="iio/lis3l02dq_
 KERNEL="event_line*", ID="spi1.0", DRIVER="lis3l02dq", NAME="iio/lis3l02dq_event"
 KERNEL="ring_access*", ID="spi1.0", DRIVER="lis3l02dq", NAME="iio/lis3l02dq_ring_access"
 
-The files, lis3l02dqbuffersimple.c and iio_util.h in this directory provide an example
+The files, lis3l02dqbuffersimple.c and iio_utils.h in this directory provide an example
 of how to use the ring buffer and event interfaces.