Skip to contentSkip to conversation

accessiblity: speakup: cleanup comments

PATCH In review [email protected] 2 participants 2 messages Mar 29, 2022 Speakup console speech driver

lore
Share & tools
lore
#0 lore raw

PATCH 1/1 accessiblity: speakup: cleanup comments

From: Tom Rix <[email protected]>

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

---
 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(-)
drivers/accessibility/speakup/fakekey.c +2 -2
index cd029968462f..868c47b2a59b 100644
@@ -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)
drivers/accessibility/speakup/serialio.c +1 -1
index 53580bdc5baa..3418ea31d28f 100644
@@ -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__)
drivers/accessibility/speakup/speakup_acntpc.c +1 -1
index 023172ca22ef..a55b60754eb1 100644
@@ -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.
  */
drivers/accessibility/speakup/speakup_acntsa.c +1 -1
index 3a863dc61286..2697c51ed6b5 100644
@@ -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.
  */
 
drivers/accessibility/speakup/speakup_apollo.c +1 -1
index cd63581b2e99..c84a7e0864b7 100644
@@ -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>
drivers/accessibility/speakup/speakup_audptr.c +1 -1
index a0c3b8ae17a1..4d16d60db9b2 100644
@@ -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"
drivers/accessibility/speakup/speakup_bns.c +1 -1
index 76dfa3f7c058..b8103eb117b8 100644
@@ -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"
drivers/accessibility/speakup/speakup_decext.c +1 -1
index 092cfd08a9e1..eaebf62300a4 100644
@@ -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>
drivers/accessibility/speakup/speakup_dectlk.c +1 -1
index 78ca4987e619..2a7e8d727904 100644
@@ -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>
drivers/accessibility/speakup/speakup_dtlk.c +1 -1
index a9dd5c45d237..6f01e010aaf4 100644
@@ -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.
  */
drivers/accessibility/speakup/speakup_dummy.c +1 -1
index 63c2f2943282..34f11cd47073 100644
@@ -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"
drivers/accessibility/speakup/speakup_keypc.c +1 -1
index 1618be87bff1..f61b62f1ea4d 100644
@@ -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.
  */
drivers/accessibility/speakup/speakup_ltlk.c +1 -1
index 3e59b387d0c4..f885cfaa27c8 100644
@@ -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"
drivers/accessibility/speakup/speakup_soft.c +1 -1
index 19824e7006fe..1ced2721513e 100644
@@ -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.
  */
 
drivers/accessibility/speakup/speakup_spkout.c +1 -1
index bd3d8dc300ff..5e3bb3aa98b6 100644
@@ -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"
drivers/accessibility/speakup/speakup_txprt.c +1 -1
index a7326f226a5e..9e781347f7eb 100644
@@ -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"
Signature · 1 line
2.26.3
maintainer Reviewed-by on v1 1/1
#1 lore raw

[email protected], le mar. 29 mars 2022 12:54:01 -0700, a ecrit:

Quoted 8 lines

From: Tom Rix <[email protected]>

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

Quoted 238 lines
---
 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(-)
drivers/accessibility/speakup/fakekey.c +2 -2
index cd029968462f..868c47b2a59b 100644
@@ -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)
drivers/accessibility/speakup/serialio.c +1 -1
index 53580bdc5baa..3418ea31d28f 100644
@@ -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__)
drivers/accessibility/speakup/speakup_acntpc.c +1 -1
index 023172ca22ef..a55b60754eb1 100644
@@ -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.
  */
drivers/accessibility/speakup/speakup_acntsa.c +1 -1
index 3a863dc61286..2697c51ed6b5 100644
@@ -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.
  */
 
drivers/accessibility/speakup/speakup_apollo.c +1 -1
index cd63581b2e99..c84a7e0864b7 100644
@@ -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>
drivers/accessibility/speakup/speakup_audptr.c +1 -1
index a0c3b8ae17a1..4d16d60db9b2 100644
@@ -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"
drivers/accessibility/speakup/speakup_bns.c +1 -1
index 76dfa3f7c058..b8103eb117b8 100644
@@ -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"
drivers/accessibility/speakup/speakup_decext.c +1 -1
index 092cfd08a9e1..eaebf62300a4 100644
@@ -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>
drivers/accessibility/speakup/speakup_dectlk.c +1 -1
index 78ca4987e619..2a7e8d727904 100644
@@ -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>
drivers/accessibility/speakup/speakup_dtlk.c +1 -1
index a9dd5c45d237..6f01e010aaf4 100644
@@ -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.
  */
drivers/accessibility/speakup/speakup_dummy.c +1 -1
index 63c2f2943282..34f11cd47073 100644
@@ -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"
drivers/accessibility/speakup/speakup_keypc.c +1 -1
index 1618be87bff1..f61b62f1ea4d 100644
@@ -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.
  */
drivers/accessibility/speakup/speakup_ltlk.c +1 -1
index 3e59b387d0c4..f885cfaa27c8 100644
@@ -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"
drivers/accessibility/speakup/speakup_soft.c +1 -1
index 19824e7006fe..1ced2721513e 100644
@@ -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.
  */
 
drivers/accessibility/speakup/speakup_spkout.c +1 -1
index bd3d8dc300ff..5e3bb3aa98b6 100644
@@ -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"
drivers/accessibility/speakup/speakup_txprt.c +1 -1
index a7326f226a5e..9e781347f7eb 100644
@@ -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"
Signature · 1 line
2.26.3