Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ca7d1b32 authored by anish kumar's avatar anish kumar Committed by Jonathan Cameron
Browse files

iio: Documentation change for inkern interface.



This commit- 314be14b renamed the _st_ functions to loose the bit
that was meant for staging version but forgot to change
the documentation which still have _st_ sprinkled in some of the
places.

Signed-off-by: default avataranish kumar <anish198519851985@gmail.com>
Signed-off-by: default avatarJonathan Cameron <jic23@kernel.org>
parent c26cc89e
Loading
Loading
Loading
Loading
+3 −3
Original line number Diff line number Diff line
@@ -48,11 +48,11 @@ There are then a number of functions that can be used to get information
about this channel such as it's current reading.

e.g.
iio_st_read_channel_raw() - get a reading
iio_st_read_channel_type() - get the type of channel
iio_read_channel_raw() - get a reading
iio_get_channel_type() - get the type of channel

There is also provision for retrieving all of the channels associated
with a given consumer.  This is useful for generic drivers such as
iio_hwmon where the number and naming of channels is not known by the
consumer driver.  To do this, use iio_st_channel_get_all.
consumer driver.  To do this, use iio_channel_get_all.