iio: staging: fix device.txt documentation
Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net> Signed-off-by: Jonathan Cameron <jic23@kernel.org>
This commit is contained in:
parent
8b20be87e1
commit
7f7ce433ba
1 changed files with 2 additions and 2 deletions
|
@ -56,7 +56,7 @@ Then fill in the following:
|
||||||
|
|
||||||
- indio_dev->modes:
|
- indio_dev->modes:
|
||||||
Specify whether direct access and / or ring buffer access is supported.
|
Specify whether direct access and / or ring buffer access is supported.
|
||||||
- indio_dev->ring:
|
- indio_dev->buffer:
|
||||||
An optional associated buffer.
|
An optional associated buffer.
|
||||||
- indio_dev->pollfunc:
|
- indio_dev->pollfunc:
|
||||||
Poll function related elements. This controls what occurs when a trigger
|
Poll function related elements. This controls what occurs when a trigger
|
||||||
|
@ -67,7 +67,7 @@ Then fill in the following:
|
||||||
- indio_dev->num_channels:
|
- indio_dev->num_channels:
|
||||||
How many channels are there?
|
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.
|
will register the device with the iio core.
|
||||||
|
|
||||||
Worth noting here is that, if a ring buffer is to be used, it can be
|
Worth noting here is that, if a ring buffer is to be used, it can be
|
||||||
|
|
Loading…
Reference in a new issue