From: Jonathan Cameron <jic23@kernel.org>
To: Peter Meerwald <pmeerw@pmeerw.net>, linux-iio@vger.kernel.org
Subject: Re: [PATCH 2/2] iio: Remove obsolete variable in tcs3472 driver
Date: Sat, 11 Jan 2014 11:52:24 +0000 [thread overview]
Message-ID: <52D13078.6040106@kernel.org> (raw)
In-Reply-To: <1389133774-28091-2-git-send-email-pmeerw@pmeerw.net>
On 07/01/14 22:29, Peter Meerwald wrote:
> len variable became obsolete with
> iio_push_to_buffers_with_timestamp()
>
> Signed-off-by: Peter Meerwald <pmeerw@pmeerw.net>
Applied to the togreg branch of iio.git.
Thanks,
> ---
> drivers/iio/light/tcs3472.c | 2 --
> 1 file changed, 2 deletions(-)
>
> diff --git a/drivers/iio/light/tcs3472.c b/drivers/iio/light/tcs3472.c
> index 887fecf..fe063a0 100644
> --- a/drivers/iio/light/tcs3472.c
> +++ b/drivers/iio/light/tcs3472.c
> @@ -179,7 +179,6 @@ static irqreturn_t tcs3472_trigger_handler(int irq, void *p)
> struct iio_poll_func *pf = p;
> struct iio_dev *indio_dev = pf->indio_dev;
> struct tcs3472_data *data = iio_priv(indio_dev);
> - int len = 0;
> int i, j = 0;
>
> int ret = tcs3472_req_data(data);
> @@ -194,7 +193,6 @@ static irqreturn_t tcs3472_trigger_handler(int irq, void *p)
> goto done;
>
> data->buffer[j++] = ret;
> - len += 2;
> }
>
> iio_push_to_buffers_with_timestamp(indio_dev, data->buffer,
>
next prev parent reply other threads:[~2014-01-11 11:52 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2014-01-07 22:29 [PATCH 1/2] iio: Remove obsolete variable in adjd_s311 driver Peter Meerwald
2014-01-07 22:29 ` [PATCH 2/2] iio: Remove obsolete variable in tcs3472 driver Peter Meerwald
2014-01-11 11:52 ` Jonathan Cameron [this message]
2014-01-11 11:52 ` [PATCH 1/2] iio: Remove obsolete variable in adjd_s311 driver Jonathan Cameron
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=52D13078.6040106@kernel.org \
--to=jic23@kernel.org \
--cc=linux-iio@vger.kernel.org \
--cc=pmeerw@pmeerw.net \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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).