iio: fix typo in userspace example codes and document
Subsystems (3)
PATCH 1/1 iio: fix typo in userspace example codes and document
Signed-off-by Barry Song <[email protected]>
--- .../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
@@ -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
@@ -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
Quoted 1 line · Barry Song
Signed-off-by Barry Song <[email protected]>
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.
Acked-by Jonathan Cameron <[email protected]>
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@@ -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@@ -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.