Skip to content

Commit

Permalink
iio: Documentation change for inkern interface.
Browse files Browse the repository at this point in the history
This commit- 314be14 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: anish kumar <anish198519851985@gmail.com>
Signed-off-by: Jonathan Cameron <jic23@kernel.org>
  • Loading branch information
anish kumar authored and Jonathan Cameron committed Sep 15, 2012
1 parent c26cc89 commit ca7d1b3
Showing 1 changed file with 3 additions and 3 deletions.
6 changes: 3 additions & 3 deletions drivers/staging/iio/Documentation/inkernel.txt
Original file line number Diff line number Diff line change
Expand Up @@ -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.

0 comments on commit ca7d1b3

Please sign in to comment.