RE: [PATCH] iio: ad5755: fix spelling mistake "to" -> "too"

From: David Laight
Date: Thu Jan 23 2020 - 09:55:40 EST


From Ardelean, Alexandru
> Sent: 23 January 2020 07:03
>
> On Wed, 2020-01-22 at 23:58 +0000, Colin King wrote:
> > [External]
> >
> > From: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> >
> > There is a spelling mistake in a dev_err message. Fix it.
> >
> > Signed-off-by: Colin Ian King <colin.king@xxxxxxxxxxxxx>
> > ---
> > drivers/iio/dac/ad5755.c | 2 +-
> > 1 file changed, 1 insertion(+), 1 deletion(-)
> >
> > diff --git a/drivers/iio/dac/ad5755.c b/drivers/iio/dac/ad5755.c
> > index b9175fb4c8ab..dad0b26228a2 100644
> > --- a/drivers/iio/dac/ad5755.c
> > +++ b/drivers/iio/dac/ad5755.c
> > @@ -655,7 +655,7 @@ static struct ad5755_platform_data *ad5755_parse_dt(struct
> > device *dev)
> > for_each_child_of_node(np, pp) {
> > if (devnr >= AD5755_NUM_CHANNELS) {
> > dev_err(dev,
> > - "There is to many channels defined in DT\n");
> > + "There is too many channels defined in DT\n");
>
> If going for the spelling stuff, maybe also change "is" to "are":
> 'There are too many channels defined in DT\n'

Probably better still: "The DT defines too many channels\n"

David

-
Registered Address Lakeside, Bramley Road, Mount Farm, Milton Keynes, MK1 1PT, UK
Registration No: 1397386 (Wales)