2022-03-30 14:50:58

by Tom Rix

[permalink] [raw]
Subject: [PATCH] accessiblity: speakup: cleanup comments

From: Tom Rix <[email protected]>

Replace for spelling
keypresses to key presses
bytesize to byte size
specificly to specifically

Signed-off-by: Tom Rix <[email protected]>
---
drivers/accessibility/speakup/fakekey.c | 4 ++--
drivers/accessibility/speakup/serialio.c | 2 +-
drivers/accessibility/speakup/speakup_acntpc.c | 2 +-
drivers/accessibility/speakup/speakup_acntsa.c | 2 +-
drivers/accessibility/speakup/speakup_apollo.c | 2 +-
drivers/accessibility/speakup/speakup_audptr.c | 2 +-
drivers/accessibility/speakup/speakup_bns.c | 2 +-
drivers/accessibility/speakup/speakup_decext.c | 2 +-
drivers/accessibility/speakup/speakup_dectlk.c | 2 +-
drivers/accessibility/speakup/speakup_dtlk.c | 2 +-
drivers/accessibility/speakup/speakup_dummy.c | 2 +-
drivers/accessibility/speakup/speakup_keypc.c | 2 +-
drivers/accessibility/speakup/speakup_ltlk.c | 2 +-
drivers/accessibility/speakup/speakup_soft.c | 2 +-
drivers/accessibility/speakup/speakup_spkout.c | 2 +-
drivers/accessibility/speakup/speakup_txprt.c | 2 +-
16 files changed, 17 insertions(+), 17 deletions(-)

diff --git a/drivers/accessibility/speakup/fakekey.c b/drivers/accessibility/speakup/fakekey.c
index cd029968462f..868c47b2a59b 100644
--- a/drivers/accessibility/speakup/fakekey.c
+++ b/drivers/accessibility/speakup/fakekey.c
@@ -1,6 +1,6 @@
// SPDX-License-Identifier: GPL-2.0+
/* fakekey.c
- * Functions for simulating keypresses.
+ * Functions for simulating key presses.
*
* Copyright (C) 2010 the Speakup Team
*/
@@ -78,7 +78,7 @@ void speakup_fake_down_arrow(void)
}

/*
- * Are we handling a simulated keypress on the current CPU?
+ * Are we handling a simulated key press on the current CPU?
* Returns a boolean.
*/
bool speakup_fake_key_pressed(void)
diff --git a/drivers/accessibility/speakup/serialio.c b/drivers/accessibility/speakup/serialio.c
index 53580bdc5baa..3418ea31d28f 100644
--- a/drivers/accessibility/speakup/serialio.c
+++ b/drivers/accessibility/speakup/serialio.c
@@ -59,7 +59,7 @@ const struct old_serial_port *spk_serial_init(int index)
}
ser = rs_table + index;

- /* Divisor, bytesize and parity */
+ /* Divisor, byte size and parity */
quot = ser->baud_base / baud;
cval = cflag & (CSIZE | CSTOPB);
#if defined(__powerpc__) || defined(__alpha__)
diff --git a/drivers/accessibility/speakup/speakup_acntpc.c b/drivers/accessibility/speakup/speakup_acntpc.c
index 023172ca22ef..a55b60754eb1 100644
--- a/drivers/accessibility/speakup/speakup_acntpc.c
+++ b/drivers/accessibility/speakup/speakup_acntpc.c
@@ -6,7 +6,7 @@
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
- * this code is specificly written as a driver for the speakup screenreview
+ * this code is specifically written as a driver for the speakup screenreview
* package and is not a general device driver.
* This driver is for the Aicom Acent PC internal synthesizer.
*/
diff --git a/drivers/accessibility/speakup/speakup_acntsa.c b/drivers/accessibility/speakup/speakup_acntsa.c
index 3a863dc61286..2697c51ed6b5 100644
--- a/drivers/accessibility/speakup/speakup_acntsa.c
+++ b/drivers/accessibility/speakup/speakup_acntsa.c
@@ -6,7 +6,7 @@
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
- * this code is specificly written as a driver for the speakup screenreview
+ * this code is specifically written as a driver for the speakup screenreview
* package and is not a general device driver.
*/

diff --git a/drivers/accessibility/speakup/speakup_apollo.c b/drivers/accessibility/speakup/speakup_apollo.c
index cd63581b2e99..c84a7e0864b7 100644
--- a/drivers/accessibility/speakup/speakup_apollo.c
+++ b/drivers/accessibility/speakup/speakup_apollo.c
@@ -6,7 +6,7 @@
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
- * this code is specificly written as a driver for the speakup screenreview
+ * this code is specifically written as a driver for the speakup screenreview
* package and is not a general device driver.
*/
#include <linux/jiffies.h>
diff --git a/drivers/accessibility/speakup/speakup_audptr.c b/drivers/accessibility/speakup/speakup_audptr.c
index a0c3b8ae17a1..4d16d60db9b2 100644
--- a/drivers/accessibility/speakup/speakup_audptr.c
+++ b/drivers/accessibility/speakup/speakup_audptr.c
@@ -6,7 +6,7 @@
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
- * specificly written as a driver for the speakup screenreview
+ * specifically written as a driver for the speakup screenreview
* s not a general device driver.
*/
#include "spk_priv.h"
diff --git a/drivers/accessibility/speakup/speakup_bns.c b/drivers/accessibility/speakup/speakup_bns.c
index 76dfa3f7c058..b8103eb117b8 100644
--- a/drivers/accessibility/speakup/speakup_bns.c
+++ b/drivers/accessibility/speakup/speakup_bns.c
@@ -6,7 +6,7 @@
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
- * this code is specificly written as a driver for the speakup screenreview
+ * this code is specifically written as a driver for the speakup screenreview
* package and is not a general device driver.
*/
#include "spk_priv.h"
diff --git a/drivers/accessibility/speakup/speakup_decext.c b/drivers/accessibility/speakup/speakup_decext.c
index 092cfd08a9e1..eaebf62300a4 100644
--- a/drivers/accessibility/speakup/speakup_decext.c
+++ b/drivers/accessibility/speakup/speakup_decext.c
@@ -6,7 +6,7 @@
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
- * specificly written as a driver for the speakup screenreview
+ * specifically written as a driver for the speakup screenreview
* s not a general device driver.
*/
#include <linux/jiffies.h>
diff --git a/drivers/accessibility/speakup/speakup_dectlk.c b/drivers/accessibility/speakup/speakup_dectlk.c
index 78ca4987e619..2a7e8d727904 100644
--- a/drivers/accessibility/speakup/speakup_dectlk.c
+++ b/drivers/accessibility/speakup/speakup_dectlk.c
@@ -6,7 +6,7 @@
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
- * specificly written as a driver for the speakup screenreview
+ * specifically written as a driver for the speakup screenreview
* s not a general device driver.
*/
#include <linux/unistd.h>
diff --git a/drivers/accessibility/speakup/speakup_dtlk.c b/drivers/accessibility/speakup/speakup_dtlk.c
index a9dd5c45d237..6f01e010aaf4 100644
--- a/drivers/accessibility/speakup/speakup_dtlk.c
+++ b/drivers/accessibility/speakup/speakup_dtlk.c
@@ -6,7 +6,7 @@
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
- * specificly written as a driver for the speakup screenreview
+ * specifically written as a driver for the speakup screenreview
* package it's not a general device driver.
* This driver is for the RC Systems DoubleTalk PC internal synthesizer.
*/
diff --git a/drivers/accessibility/speakup/speakup_dummy.c b/drivers/accessibility/speakup/speakup_dummy.c
index 63c2f2943282..34f11cd47073 100644
--- a/drivers/accessibility/speakup/speakup_dummy.c
+++ b/drivers/accessibility/speakup/speakup_dummy.c
@@ -8,7 +8,7 @@
* Copyright (C) 2003 David Borowski.
* Copyright (C) 2007 Samuel Thibault.
*
- * specificly written as a driver for the speakup screenreview
+ * specifically written as a driver for the speakup screenreview
* s not a general device driver.
*/
#include "spk_priv.h"
diff --git a/drivers/accessibility/speakup/speakup_keypc.c b/drivers/accessibility/speakup/speakup_keypc.c
index 1618be87bff1..f61b62f1ea4d 100644
--- a/drivers/accessibility/speakup/speakup_keypc.c
+++ b/drivers/accessibility/speakup/speakup_keypc.c
@@ -4,7 +4,7 @@
*
* Copyright (C) 2003 David Borowski.
*
- * specificly written as a driver for the speakup screenreview
+ * specifically written as a driver for the speakup screenreview
* package it's not a general device driver.
* This driver is for the Keynote Gold internal synthesizer.
*/
diff --git a/drivers/accessibility/speakup/speakup_ltlk.c b/drivers/accessibility/speakup/speakup_ltlk.c
index 3e59b387d0c4..f885cfaa27c8 100644
--- a/drivers/accessibility/speakup/speakup_ltlk.c
+++ b/drivers/accessibility/speakup/speakup_ltlk.c
@@ -6,7 +6,7 @@
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
- * specificly written as a driver for the speakup screenreview
+ * specifically written as a driver for the speakup screenreview
* s not a general device driver.
*/
#include "speakup.h"
diff --git a/drivers/accessibility/speakup/speakup_soft.c b/drivers/accessibility/speakup/speakup_soft.c
index 19824e7006fe..1ced2721513e 100644
--- a/drivers/accessibility/speakup/speakup_soft.c
+++ b/drivers/accessibility/speakup/speakup_soft.c
@@ -5,7 +5,7 @@
*
* Copyright (C) 2003 Kirk Reiser.
*
- * this code is specificly written as a driver for the speakup screenreview
+ * this code is specifically written as a driver for the speakup screenreview
* package and is not a general device driver.
*/

diff --git a/drivers/accessibility/speakup/speakup_spkout.c b/drivers/accessibility/speakup/speakup_spkout.c
index bd3d8dc300ff..5e3bb3aa98b6 100644
--- a/drivers/accessibility/speakup/speakup_spkout.c
+++ b/drivers/accessibility/speakup/speakup_spkout.c
@@ -6,7 +6,7 @@
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
- * specificly written as a driver for the speakup screenreview
+ * specifically written as a driver for the speakup screenreview
* s not a general device driver.
*/
#include "spk_priv.h"
diff --git a/drivers/accessibility/speakup/speakup_txprt.c b/drivers/accessibility/speakup/speakup_txprt.c
index a7326f226a5e..9e781347f7eb 100644
--- a/drivers/accessibility/speakup/speakup_txprt.c
+++ b/drivers/accessibility/speakup/speakup_txprt.c
@@ -6,7 +6,7 @@
* Copyright (C) 1998-99 Kirk Reiser.
* Copyright (C) 2003 David Borowski.
*
- * specificly written as a driver for the speakup screenreview
+ * specifically written as a driver for the speakup screenreview
* s not a general device driver.
*/
#include "spk_priv.h"
--
2.26.3


2022-03-31 03:59:40

by Samuel Thibault

[permalink] [raw]
Subject: Re: [PATCH] accessiblity: speakup: cleanup comments

[email protected], le mar. 29 mars 2022 12:54:01 -0700, a ecrit:
> From: Tom Rix <[email protected]>
>
> Replace for spelling
> keypresses to key presses
> bytesize to byte size
> specificly to specifically
>
> Signed-off-by: Tom Rix <[email protected]>

Reviewed-by: Samuel Thibault <[email protected]>

> ---
> drivers/accessibility/speakup/fakekey.c | 4 ++--
> drivers/accessibility/speakup/serialio.c | 2 +-
> drivers/accessibility/speakup/speakup_acntpc.c | 2 +-
> drivers/accessibility/speakup/speakup_acntsa.c | 2 +-
> drivers/accessibility/speakup/speakup_apollo.c | 2 +-
> drivers/accessibility/speakup/speakup_audptr.c | 2 +-
> drivers/accessibility/speakup/speakup_bns.c | 2 +-
> drivers/accessibility/speakup/speakup_decext.c | 2 +-
> drivers/accessibility/speakup/speakup_dectlk.c | 2 +-
> drivers/accessibility/speakup/speakup_dtlk.c | 2 +-
> drivers/accessibility/speakup/speakup_dummy.c | 2 +-
> drivers/accessibility/speakup/speakup_keypc.c | 2 +-
> drivers/accessibility/speakup/speakup_ltlk.c | 2 +-
> drivers/accessibility/speakup/speakup_soft.c | 2 +-
> drivers/accessibility/speakup/speakup_spkout.c | 2 +-
> drivers/accessibility/speakup/speakup_txprt.c | 2 +-
> 16 files changed, 17 insertions(+), 17 deletions(-)
>
> diff --git a/drivers/accessibility/speakup/fakekey.c b/drivers/accessibility/speakup/fakekey.c
> index cd029968462f..868c47b2a59b 100644
> --- a/drivers/accessibility/speakup/fakekey.c
> +++ b/drivers/accessibility/speakup/fakekey.c
> @@ -1,6 +1,6 @@
> // SPDX-License-Identifier: GPL-2.0+
> /* fakekey.c
> - * Functions for simulating keypresses.
> + * Functions for simulating key presses.
> *
> * Copyright (C) 2010 the Speakup Team
> */
> @@ -78,7 +78,7 @@ void speakup_fake_down_arrow(void)
> }
>
> /*
> - * Are we handling a simulated keypress on the current CPU?
> + * Are we handling a simulated key press on the current CPU?
> * Returns a boolean.
> */
> bool speakup_fake_key_pressed(void)
> diff --git a/drivers/accessibility/speakup/serialio.c b/drivers/accessibility/speakup/serialio.c
> index 53580bdc5baa..3418ea31d28f 100644
> --- a/drivers/accessibility/speakup/serialio.c
> +++ b/drivers/accessibility/speakup/serialio.c
> @@ -59,7 +59,7 @@ const struct old_serial_port *spk_serial_init(int index)
> }
> ser = rs_table + index;
>
> - /* Divisor, bytesize and parity */
> + /* Divisor, byte size and parity */
> quot = ser->baud_base / baud;
> cval = cflag & (CSIZE | CSTOPB);
> #if defined(__powerpc__) || defined(__alpha__)
> diff --git a/drivers/accessibility/speakup/speakup_acntpc.c b/drivers/accessibility/speakup/speakup_acntpc.c
> index 023172ca22ef..a55b60754eb1 100644
> --- a/drivers/accessibility/speakup/speakup_acntpc.c
> +++ b/drivers/accessibility/speakup/speakup_acntpc.c
> @@ -6,7 +6,7 @@
> * Copyright (C) 1998-99 Kirk Reiser.
> * Copyright (C) 2003 David Borowski.
> *
> - * this code is specificly written as a driver for the speakup screenreview
> + * this code is specifically written as a driver for the speakup screenreview
> * package and is not a general device driver.
> * This driver is for the Aicom Acent PC internal synthesizer.
> */
> diff --git a/drivers/accessibility/speakup/speakup_acntsa.c b/drivers/accessibility/speakup/speakup_acntsa.c
> index 3a863dc61286..2697c51ed6b5 100644
> --- a/drivers/accessibility/speakup/speakup_acntsa.c
> +++ b/drivers/accessibility/speakup/speakup_acntsa.c
> @@ -6,7 +6,7 @@
> * Copyright (C) 1998-99 Kirk Reiser.
> * Copyright (C) 2003 David Borowski.
> *
> - * this code is specificly written as a driver for the speakup screenreview
> + * this code is specifically written as a driver for the speakup screenreview
> * package and is not a general device driver.
> */
>
> diff --git a/drivers/accessibility/speakup/speakup_apollo.c b/drivers/accessibility/speakup/speakup_apollo.c
> index cd63581b2e99..c84a7e0864b7 100644
> --- a/drivers/accessibility/speakup/speakup_apollo.c
> +++ b/drivers/accessibility/speakup/speakup_apollo.c
> @@ -6,7 +6,7 @@
> * Copyright (C) 1998-99 Kirk Reiser.
> * Copyright (C) 2003 David Borowski.
> *
> - * this code is specificly written as a driver for the speakup screenreview
> + * this code is specifically written as a driver for the speakup screenreview
> * package and is not a general device driver.
> */
> #include <linux/jiffies.h>
> diff --git a/drivers/accessibility/speakup/speakup_audptr.c b/drivers/accessibility/speakup/speakup_audptr.c
> index a0c3b8ae17a1..4d16d60db9b2 100644
> --- a/drivers/accessibility/speakup/speakup_audptr.c
> +++ b/drivers/accessibility/speakup/speakup_audptr.c
> @@ -6,7 +6,7 @@
> * Copyright (C) 1998-99 Kirk Reiser.
> * Copyright (C) 2003 David Borowski.
> *
> - * specificly written as a driver for the speakup screenreview
> + * specifically written as a driver for the speakup screenreview
> * s not a general device driver.
> */
> #include "spk_priv.h"
> diff --git a/drivers/accessibility/speakup/speakup_bns.c b/drivers/accessibility/speakup/speakup_bns.c
> index 76dfa3f7c058..b8103eb117b8 100644
> --- a/drivers/accessibility/speakup/speakup_bns.c
> +++ b/drivers/accessibility/speakup/speakup_bns.c
> @@ -6,7 +6,7 @@
> * Copyright (C) 1998-99 Kirk Reiser.
> * Copyright (C) 2003 David Borowski.
> *
> - * this code is specificly written as a driver for the speakup screenreview
> + * this code is specifically written as a driver for the speakup screenreview
> * package and is not a general device driver.
> */
> #include "spk_priv.h"
> diff --git a/drivers/accessibility/speakup/speakup_decext.c b/drivers/accessibility/speakup/speakup_decext.c
> index 092cfd08a9e1..eaebf62300a4 100644
> --- a/drivers/accessibility/speakup/speakup_decext.c
> +++ b/drivers/accessibility/speakup/speakup_decext.c
> @@ -6,7 +6,7 @@
> * Copyright (C) 1998-99 Kirk Reiser.
> * Copyright (C) 2003 David Borowski.
> *
> - * specificly written as a driver for the speakup screenreview
> + * specifically written as a driver for the speakup screenreview
> * s not a general device driver.
> */
> #include <linux/jiffies.h>
> diff --git a/drivers/accessibility/speakup/speakup_dectlk.c b/drivers/accessibility/speakup/speakup_dectlk.c
> index 78ca4987e619..2a7e8d727904 100644
> --- a/drivers/accessibility/speakup/speakup_dectlk.c
> +++ b/drivers/accessibility/speakup/speakup_dectlk.c
> @@ -6,7 +6,7 @@
> * Copyright (C) 1998-99 Kirk Reiser.
> * Copyright (C) 2003 David Borowski.
> *
> - * specificly written as a driver for the speakup screenreview
> + * specifically written as a driver for the speakup screenreview
> * s not a general device driver.
> */
> #include <linux/unistd.h>
> diff --git a/drivers/accessibility/speakup/speakup_dtlk.c b/drivers/accessibility/speakup/speakup_dtlk.c
> index a9dd5c45d237..6f01e010aaf4 100644
> --- a/drivers/accessibility/speakup/speakup_dtlk.c
> +++ b/drivers/accessibility/speakup/speakup_dtlk.c
> @@ -6,7 +6,7 @@
> * Copyright (C) 1998-99 Kirk Reiser.
> * Copyright (C) 2003 David Borowski.
> *
> - * specificly written as a driver for the speakup screenreview
> + * specifically written as a driver for the speakup screenreview
> * package it's not a general device driver.
> * This driver is for the RC Systems DoubleTalk PC internal synthesizer.
> */
> diff --git a/drivers/accessibility/speakup/speakup_dummy.c b/drivers/accessibility/speakup/speakup_dummy.c
> index 63c2f2943282..34f11cd47073 100644
> --- a/drivers/accessibility/speakup/speakup_dummy.c
> +++ b/drivers/accessibility/speakup/speakup_dummy.c
> @@ -8,7 +8,7 @@
> * Copyright (C) 2003 David Borowski.
> * Copyright (C) 2007, 2022 Samuel Thibault.
> *
> - * specificly written as a driver for the speakup screenreview
> + * specifically written as a driver for the speakup screenreview
> * s not a general device driver.
> */
> #include "spk_priv.h"
> diff --git a/drivers/accessibility/speakup/speakup_keypc.c b/drivers/accessibility/speakup/speakup_keypc.c
> index 1618be87bff1..f61b62f1ea4d 100644
> --- a/drivers/accessibility/speakup/speakup_keypc.c
> +++ b/drivers/accessibility/speakup/speakup_keypc.c
> @@ -4,7 +4,7 @@
> *
> * Copyright (C) 2003 David Borowski.
> *
> - * specificly written as a driver for the speakup screenreview
> + * specifically written as a driver for the speakup screenreview
> * package it's not a general device driver.
> * This driver is for the Keynote Gold internal synthesizer.
> */
> diff --git a/drivers/accessibility/speakup/speakup_ltlk.c b/drivers/accessibility/speakup/speakup_ltlk.c
> index 3e59b387d0c4..f885cfaa27c8 100644
> --- a/drivers/accessibility/speakup/speakup_ltlk.c
> +++ b/drivers/accessibility/speakup/speakup_ltlk.c
> @@ -6,7 +6,7 @@
> * Copyright (C) 1998-99 Kirk Reiser.
> * Copyright (C) 2003 David Borowski.
> *
> - * specificly written as a driver for the speakup screenreview
> + * specifically written as a driver for the speakup screenreview
> * s not a general device driver.
> */
> #include "speakup.h"
> diff --git a/drivers/accessibility/speakup/speakup_soft.c b/drivers/accessibility/speakup/speakup_soft.c
> index 19824e7006fe..1ced2721513e 100644
> --- a/drivers/accessibility/speakup/speakup_soft.c
> +++ b/drivers/accessibility/speakup/speakup_soft.c
> @@ -5,7 +5,7 @@
> *
> * Copyright (C) 2003 Kirk Reiser.
> *
> - * this code is specificly written as a driver for the speakup screenreview
> + * this code is specifically written as a driver for the speakup screenreview
> * package and is not a general device driver.
> */
>
> diff --git a/drivers/accessibility/speakup/speakup_spkout.c b/drivers/accessibility/speakup/speakup_spkout.c
> index bd3d8dc300ff..5e3bb3aa98b6 100644
> --- a/drivers/accessibility/speakup/speakup_spkout.c
> +++ b/drivers/accessibility/speakup/speakup_spkout.c
> @@ -6,7 +6,7 @@
> * Copyright (C) 1998-99 Kirk Reiser.
> * Copyright (C) 2003 David Borowski.
> *
> - * specificly written as a driver for the speakup screenreview
> + * specifically written as a driver for the speakup screenreview
> * s not a general device driver.
> */
> #include "spk_priv.h"
> diff --git a/drivers/accessibility/speakup/speakup_txprt.c b/drivers/accessibility/speakup/speakup_txprt.c
> index a7326f226a5e..9e781347f7eb 100644
> --- a/drivers/accessibility/speakup/speakup_txprt.c
> +++ b/drivers/accessibility/speakup/speakup_txprt.c
> @@ -6,7 +6,7 @@
> * Copyright (C) 1998-99 Kirk Reiser.
> * Copyright (C) 2003 David Borowski.
> *
> - * specificly written as a driver for the speakup screenreview
> + * specifically written as a driver for the speakup screenreview
> * s not a general device driver.
> */
> #include "spk_priv.h"
> --
> 2.26.3
>