Commit ca7d1b32d2a0d4c62533b9401cf9ce4d14d183f7

Authored by anish kumar
Committed by Jonathan Cameron
1 parent c26cc89e8d

iio: Documentation change for inkern interface.

This commit- 314be14bb 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>

Showing 1 changed file with 3 additions and 3 deletions Side-by-side Diff

drivers/staging/iio/Documentation/inkernel.txt
... ... @@ -48,11 +48,11 @@
48 48 about this channel such as it's current reading.
49 49  
50 50 e.g.
51   -iio_st_read_channel_raw() - get a reading
52   -iio_st_read_channel_type() - get the type of channel
  51 +iio_read_channel_raw() - get a reading
  52 +iio_get_channel_type() - get the type of channel
53 53  
54 54 There is also provision for retrieving all of the channels associated
55 55 with a given consumer. This is useful for generic drivers such as
56 56 iio_hwmon where the number and naming of channels is not known by the
57   -consumer driver. To do this, use iio_st_channel_get_all.
  57 +consumer driver. To do this, use iio_channel_get_all.