* [PATCH] iio: Fix some comments
@ 2012-12-19 17:56 Alexander Stein
2012-12-27 11:22 ` Jonathan Cameron
0 siblings, 1 reply; 2+ messages in thread
From: Alexander Stein @ 2012-12-19 17:56 UTC (permalink / raw)
To: linux-iio; +Cc: trivial, Jonathan Cameron, Alexander Stein
Signed-off-by: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
---
drivers/staging/iio/iio_simple_dummy.c | 4 ++--
drivers/staging/iio/iio_simple_dummy_buffer.c | 2 +-
2 files changed, 3 insertions(+), 3 deletions(-)
diff --git a/drivers/staging/iio/iio_simple_dummy.c b/drivers/staging/iio/iio_simple_dummy.c
index a865adf..aee76c7 100644
--- a/drivers/staging/iio/iio_simple_dummy.c
+++ b/drivers/staging/iio/iio_simple_dummy.c
@@ -54,7 +54,7 @@ struct iio_dummy_accel_calibscale {
static const struct iio_dummy_accel_calibscale dummy_scales[] = {
{ 0, 100, 0x8 }, /* 0.000100 */
{ 0, 133, 0x7 }, /* 0.000133 */
- { 733, 13, 0x9 }, /* 733.00013 */
+ { 733, 13, 0x9 }, /* 733.000013 */
};
/*
@@ -284,7 +284,7 @@ static int iio_dummy_read_raw(struct iio_dev *indio_dev,
/**
* iio_dummy_write_raw() - data write function.
* @indio_dev: the struct iio_dev associated with this device instance
- * @chan: the channel whose data is to be read
+ * @chan: the channel whose data is to be written
* @val: first element of value to set (typically INT)
* @val2: second element of value to set (typically MICRO)
* @mask: what we actually want to write. 0 is the channel, everything else
diff --git a/drivers/staging/iio/iio_simple_dummy_buffer.c b/drivers/staging/iio/iio_simple_dummy_buffer.c
index dee16f0..72f400c 100644
--- a/drivers/staging/iio/iio_simple_dummy_buffer.c
+++ b/drivers/staging/iio/iio_simple_dummy_buffer.c
@@ -155,7 +155,7 @@ int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev,
* occurs, this function is run. Typically this grabs data
* from the device.
*
- * NULL for the top half. This is normally implemented only if we
+ * NULL for the bottom half. This is normally implemented only if we
* either want to ping a capture now pin (no sleeping) or grab
* a timestamp as close as possible to a data ready trigger firing.
*
--
1.8.0.2
^ permalink raw reply related [flat|nested] 2+ messages in thread
* Re: [PATCH] iio: Fix some comments
2012-12-19 17:56 [PATCH] iio: Fix some comments Alexander Stein
@ 2012-12-27 11:22 ` Jonathan Cameron
0 siblings, 0 replies; 2+ messages in thread
From: Jonathan Cameron @ 2012-12-27 11:22 UTC (permalink / raw)
To: Alexander Stein; +Cc: linux-iio, trivial, Jonathan Cameron
On 12/19/2012 05:56 PM, Alexander Stein wrote:
> Signed-off-by: Alexander Stein <alexander.stein@informatik.tu-chemnitz.de>
Thanks,
Added to togreg branch of
git://git.kernel.org/pub/scm/linux/kernel/git/jic23/iio.git
I really ought to do something about moving this out of staging if
people still find it useful/informative.
hmm.
Jonathan
> ---
> drivers/staging/iio/iio_simple_dummy.c | 4 ++--
> drivers/staging/iio/iio_simple_dummy_buffer.c | 2 +-
> 2 files changed, 3 insertions(+), 3 deletions(-)
>
> diff --git a/drivers/staging/iio/iio_simple_dummy.c b/drivers/staging/iio/iio_simple_dummy.c
> index a865adf..aee76c7 100644
> --- a/drivers/staging/iio/iio_simple_dummy.c
> +++ b/drivers/staging/iio/iio_simple_dummy.c
> @@ -54,7 +54,7 @@ struct iio_dummy_accel_calibscale {
> static const struct iio_dummy_accel_calibscale dummy_scales[] = {
> { 0, 100, 0x8 }, /* 0.000100 */
> { 0, 133, 0x7 }, /* 0.000133 */
> - { 733, 13, 0x9 }, /* 733.00013 */
> + { 733, 13, 0x9 }, /* 733.000013 */
> };
>
> /*
> @@ -284,7 +284,7 @@ static int iio_dummy_read_raw(struct iio_dev *indio_dev,
> /**
> * iio_dummy_write_raw() - data write function.
> * @indio_dev: the struct iio_dev associated with this device instance
> - * @chan: the channel whose data is to be read
> + * @chan: the channel whose data is to be written
> * @val: first element of value to set (typically INT)
> * @val2: second element of value to set (typically MICRO)
> * @mask: what we actually want to write. 0 is the channel, everything else
> diff --git a/drivers/staging/iio/iio_simple_dummy_buffer.c b/drivers/staging/iio/iio_simple_dummy_buffer.c
> index dee16f0..72f400c 100644
> --- a/drivers/staging/iio/iio_simple_dummy_buffer.c
> +++ b/drivers/staging/iio/iio_simple_dummy_buffer.c
> @@ -155,7 +155,7 @@ int iio_simple_dummy_configure_buffer(struct iio_dev *indio_dev,
> * occurs, this function is run. Typically this grabs data
> * from the device.
> *
> - * NULL for the top half. This is normally implemented only if we
> + * NULL for the bottom half. This is normally implemented only if we
> * either want to ping a capture now pin (no sleeping) or grab
> * a timestamp as close as possible to a data ready trigger firing.
> *
>
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2012-12-27 11:22 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2012-12-19 17:56 [PATCH] iio: Fix some comments Alexander Stein
2012-12-27 11:22 ` Jonathan Cameron
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).