All of lore.kernel.org
 help / color / mirror / Atom feed
From: Jonathan Cameron <jic23@cam.ac.uk>
To: Peter Meerwald <pmeerw@pmeerw.net>
Cc: linux-iio@vger.kernel.org, jic23@kernel.org, lars@metafoo.de
Subject: Re: [PATCH 1/2] iio: replace strict_strtol() with kstrtol() in max517 driver
Date: Mon, 30 Apr 2012 15:41:06 +0100	[thread overview]
Message-ID: <4F9EA482.2030204@cam.ac.uk> (raw)
In-Reply-To: <1335795152-14507-1-git-send-email-pmeerw@pmeerw.net>

This one doesn't really matter as it'll get eaten up in a conversion to 
chan_spec shortly
anyway.  But it is an improvement even if a temporary one so what the 
heck...

On 4/30/2012 3:12 PM, Peter Meerwald wrote:
> Signed-off-by: Peter Meerwald<pmeerw@pmeerw.net>
Acked-by: Jonathan Cameron <jic23@kernel.org>
> ---
>   drivers/staging/iio/dac/max517.c |    2 +-
>   1 file changed, 1 insertion(+), 1 deletion(-)
>
> diff --git a/drivers/staging/iio/dac/max517.c b/drivers/staging/iio/dac/max517.c
> index a3f588df..60aef18 100644
> --- a/drivers/staging/iio/dac/max517.c
> +++ b/drivers/staging/iio/dac/max517.c
> @@ -67,7 +67,7 @@ static ssize_t max517_set_value(struct device *dev,
>   	int res;
>   	long val;
>
> -	res = strict_strtol(buf, 10,&val);
> +	res = kstrtol(buf, 10,&val);
>
>   	if (res)
>   		return res;


  parent reply	other threads:[~2012-04-30 14:41 UTC|newest]

Thread overview: 14+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2012-04-29 17:13 [PATCH 1/2] iio: add Kconfig option and Makefile entry for mcp4725 I2C DAC driver Peter Meerwald
2012-04-29 17:13 ` [PATCH 2/2] iio: add " Peter Meerwald
2012-04-30  9:43   ` Jonathan Cameron
2012-04-30 10:18     ` Peter Meerwald
2012-04-30 10:27       ` Jonathan Cameron
2012-04-30 13:54         ` [PATCH] " Peter Meerwald
2012-04-30 14:39           ` Jonathan Cameron
2012-04-30 18:37             ` Lars-Peter Clausen
2012-04-30 10:24     ` [PATCH 2/2] " Lars-Peter Clausen
2012-04-30 14:12       ` [PATCH 1/2] iio: replace strict_strtol() with kstrtol() in max517 driver Peter Meerwald
2012-04-30 14:12         ` [PATCH 2/2] iio: call iio_device_unregister() in max517_remove() Peter Meerwald
2012-04-30 14:41           ` Jonathan Cameron
2012-04-30 14:41         ` Jonathan Cameron [this message]
2012-04-30  9:20 ` [PATCH 1/2] iio: add Kconfig option and Makefile entry for mcp4725 I2C DAC 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=4F9EA482.2030204@cam.ac.uk \
    --to=jic23@cam.ac.uk \
    --cc=jic23@kernel.org \
    --cc=lars@metafoo.de \
    --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 an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.