diff mbox

input: ams_delta_serio: fix spelling mistake: "paritiy" -> "parity"

Message ID 1466673145-2220-1-git-send-email-colin.king@canonical.com (mailing list archive)
State Accepted
Headers show

Commit Message

Colin King June 23, 2016, 9:12 a.m. UTC
From: Colin Ian King <colin.king@canonical.com>

trivial fix to spelling mistake in dev_warn message

Signed-off-by: Colin Ian King <colin.king@canonical.com>
---
 drivers/input/serio/ams_delta_serio.c | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

Comments

Dmitry Torokhov June 23, 2016, 4:57 p.m. UTC | #1
On Thu, Jun 23, 2016 at 10:12:25AM +0100, Colin King wrote:
> From: Colin Ian King <colin.king@canonical.com>
> 
> trivial fix to spelling mistake in dev_warn message
> 
> Signed-off-by: Colin Ian King <colin.king@canonical.com>

Applied, thank you.

> ---
>  drivers/input/serio/ams_delta_serio.c | 2 +-
>  1 file changed, 1 insertion(+), 1 deletion(-)
> 
> diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c
> index 45887e3..3df501c 100644
> --- a/drivers/input/serio/ams_delta_serio.c
> +++ b/drivers/input/serio/ams_delta_serio.c
> @@ -56,7 +56,7 @@ static int check_data(int data)
>  	/* it should be odd */
>  	if (!(parity & 0x01)) {
>  		dev_warn(&ams_delta_serio->dev,
> -				"paritiy check failed, data=0x%X parity=0x%X\n",
> +				"parity check failed, data=0x%X parity=0x%X\n",
>  				data, parity);
>  		return SERIO_PARITY;
>  	}
> -- 
> 2.8.1
>
diff mbox

Patch

diff --git a/drivers/input/serio/ams_delta_serio.c b/drivers/input/serio/ams_delta_serio.c
index 45887e3..3df501c 100644
--- a/drivers/input/serio/ams_delta_serio.c
+++ b/drivers/input/serio/ams_delta_serio.c
@@ -56,7 +56,7 @@  static int check_data(int data)
 	/* it should be odd */
 	if (!(parity & 0x01)) {
 		dev_warn(&ams_delta_serio->dev,
-				"paritiy check failed, data=0x%X parity=0x%X\n",
+				"parity check failed, data=0x%X parity=0x%X\n",
 				data, parity);
 		return SERIO_PARITY;
 	}