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

From: Ardelean, Alexandru
Date: Thu Jan 23 2020 - 02:03:56 EST


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'


> goto error_out;
> }
>