Skip to contentSkip to conversation

iio: Documentation change for inkern interface.

PATCH In review anish kumar 2 participants 2 messages Sep 8, 2012 – Sep 13, 2012

Subsystems (3)
lore
Share & tools
lore
#0 lore raw

PATCH 1/1 iio: Documentation change for inkern interface.

From: anish kumar <[email protected]>

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.

---
 drivers/staging/iio/Documentation/inkernel.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/iio/Documentation/inkernel.txt +3 -3
index a05823e..ab52840 100644
@@ -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.
 
Signature · 1 line
1.7.1
maintainer
#1 lore raw
Quoted 8 lines · anish kumar

From: anish kumar <[email protected]>

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.

merge to togreg branch of

git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git

Quoted 24 lines
---
 drivers/staging/iio/Documentation/inkernel.txt |    6 +++---
 1 files changed, 3 insertions(+), 3 deletions(-)
drivers/staging/iio/Documentation/inkernel.txt +3 -3
index a05823e..ab52840 100644
@@ -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.