All of lore.kernel.org
 help / color / mirror / Atom feed
From: Liam Beguin <liambeguin@gmail.com>
To: Thorsten Scherer <t.scherer@eckelmann.de>
Cc: jic23@kernel.org, linux-iio@vger.kernel.org
Subject: Re: [PATCH] iio: adc: ad7949: Fix error message
Date: Fri, 8 Jul 2022 18:51:26 -0400	[thread overview]
Message-ID: <Ysi07nn5JpIUJHS3@shaak> (raw)
In-Reply-To: <20220708201720.16523-1-t.scherer@eckelmann.de>

On Fri, Jul 08, 2022 at 10:17:20PM +0200, Thorsten Scherer wrote:
> Signed-off-by: Thorsten Scherer <t.scherer@eckelmann.de>
> ---
>  drivers/iio/adc/ad7949.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/ad7949.c b/drivers/iio/adc/ad7949.c
> index 44bb5fde83de..12fb5f9971db 100644
> --- a/drivers/iio/adc/ad7949.c
> +++ b/drivers/iio/adc/ad7949.c
> @@ -400,7 +400,7 @@ static int ad7949_spi_probe(struct spi_device *spi)
>  
>  	ret = ad7949_spi_init(ad7949_adc);
>  	if (ret) {
> -		dev_err(dev, "enable to init this device: %d\n", ret);
> +		dev_err(dev, "fail to init this device: %d\n", ret);

Maybe 'failed' or 'unable' instead of 'fail'?

otherwise:

Reviewed-by: Liam Beguin <liambeguin@gmail.com>

Cheers,
Liam

>  		return ret;
>  	}
>  
> -- 
> 2.30.2
> 

  reply	other threads:[~2022-07-08 22:51 UTC|newest]

Thread overview: 4+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-07-08 20:17 [PATCH] iio: adc: ad7949: Fix error message Thorsten Scherer
2022-07-08 22:51 ` Liam Beguin [this message]
2022-07-09  5:38   ` Thorsten Scherer
2022-07-16 17:51     ` 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=Ysi07nn5JpIUJHS3@shaak \
    --to=liambeguin@gmail.com \
    --cc=jic23@kernel.org \
    --cc=linux-iio@vger.kernel.org \
    --cc=t.scherer@eckelmann.de \
    /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.