]> git.karo-electronics.de Git - karo-tx-linux.git/commitdiff
iio: staging: fix device.txt documentation
authorPeter Meerwald <pmeerw@pmeerw.net>
Sun, 7 Jul 2013 20:24:00 +0000 (21:24 +0100)
committerJonathan Cameron <jic23@kernel.org>
Sat, 3 Aug 2013 17:40:32 +0000 (18:40 +0100)
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
drivers/staging/iio/Documentation/device.txt

index ea08d6213373c2cbbdc9082d526172d33c94665d..8be32e5a0af129f34b92ed8cd1aaf4762cd22569 100644 (file)
@@ -56,7 +56,7 @@ Then fill in the following:
 
 - indio_dev->modes:
        Specify whether direct access and / or ring buffer access is supported.
-- indio_dev->ring:
+- indio_dev->buffer:
        An optional associated buffer.
 - indio_dev->pollfunc:
        Poll function related elements. This controls what occurs when a trigger
@@ -67,7 +67,7 @@ Then fill in the following:
 - indio_dev->num_channels:
        How many channels are there?
 
-Once these are set up, a call to iio_device_register(indio_dev),
+Once these are set up, a call to iio_device_register(indio_dev)
 will register the device with the iio core.
 
 Worth noting here is that, if a ring buffer is to be used, it can be