diff mbox series

[next] iio: adc: ad4130: Fix spelling mistake "diffreential" -> "differential"

Message ID 20221104093148.167765-1-colin.i.king@gmail.com (mailing list archive)
State Accepted
Headers show
Series [next] iio: adc: ad4130: Fix spelling mistake "diffreential" -> "differential" | expand

Commit Message

Colin Ian King Nov. 4, 2022, 9:31 a.m. UTC
There is a spelling mistake in an error message. Fix it.

Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
---
 drivers/iio/adc/ad4130.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Jonathan Cameron Nov. 5, 2022, 2:31 p.m. UTC | #1
On Fri,  4 Nov 2022 09:31:48 +0000
Colin Ian King <colin.i.king@gmail.com> wrote:

> There is a spelling mistake in an error message. Fix it.
> 
> Signed-off-by: Colin Ian King <colin.i.king@gmail.com>
Applied
> ---
>  drivers/iio/adc/ad4130.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/iio/adc/ad4130.c b/drivers/iio/adc/ad4130.c
> index 9a4d0043d797..ae1a4dd5c40a 100644
> --- a/drivers/iio/adc/ad4130.c
> +++ b/drivers/iio/adc/ad4130.c
> @@ -1480,7 +1480,7 @@ static int ad4130_validate_diff_channel(struct ad4130_state *st, u32 pin)
>  
>  	if (pin >= AD4130_MAX_DIFF_INPUTS)
>  		return dev_err_probe(dev, -EINVAL,
> -				     "Invalid diffreential channel %u\n", pin);
> +				     "Invalid differential channel %u\n", pin);
>  
>  	if (pin >= AD4130_MAX_ANALOG_PINS)
>  		return 0;
diff mbox series

Patch

diff --git a/drivers/iio/adc/ad4130.c b/drivers/iio/adc/ad4130.c
index 9a4d0043d797..ae1a4dd5c40a 100644
--- a/drivers/iio/adc/ad4130.c
+++ b/drivers/iio/adc/ad4130.c
@@ -1480,7 +1480,7 @@  static int ad4130_validate_diff_channel(struct ad4130_state *st, u32 pin)
 
 	if (pin >= AD4130_MAX_DIFF_INPUTS)
 		return dev_err_probe(dev, -EINVAL,
-				     "Invalid diffreential channel %u\n", pin);
+				     "Invalid differential channel %u\n", pin);
 
 	if (pin >= AD4130_MAX_ANALOG_PINS)
 		return 0;