From: Jonathan Cameron <jic23@kernel.org>
To: Thorsten Scherer <t.scherer@eckelmann.de>
Cc: Liam Beguin <liambeguin@gmail.com>, <linux-iio@vger.kernel.org>
Subject: Re: [PATCH] iio: adc: ad7949: Fix error message
Date: Sat, 16 Jul 2022 18:51:47 +0100 [thread overview]
Message-ID: <20220716185147.3b0176a1@jic23-huawei> (raw)
In-Reply-To: <20220709053810.wb4mnwk5icjygz4r@NB142.eckelmann.group>
On Sat, 9 Jul 2022 07:38:10 +0200
Thorsten Scherer <t.scherer@eckelmann.de> wrote:
> Hi,
>
> On Fri, Jul 08, 2022 at 06:51:26PM -0400, Liam Beguin wrote:
> > 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'?
>
> I decided to be consistent with the wording of the other dev_err's. If
> anyone cares, I'll send a v2 adjusting the others as well.
I've taken the view that this is obviously an improvement so applied
it to the togreg branch of iio.git (note given timing this will only be
pushed out for now as testing, and later rebased on rc1).
If anyone wants to follow up with a grammar improvement patch, that's
fine with me, but the meaning is clear enough either way in my view.
Jonathan
>
> > otherwise:
> >
> > Reviewed-by: Liam Beguin <liambeguin@gmail.com>
> >
> > Cheers,
> > Liam
> >
>
> Best regards
> Thorsten
prev parent reply other threads:[~2022-07-16 17:41 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
2022-07-09 5:38 ` Thorsten Scherer
2022-07-16 17:51 ` Jonathan Cameron [this message]
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=20220716185147.3b0176a1@jic23-huawei \
--to=jic23@kernel.org \
--cc=liambeguin@gmail.com \
--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 a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox