accessiblity: speakup: cleanup comments
Replace for spelling keypresses to key presses bytesize to byte size specificly to specifically Reviewed-by: Samuel Thibault <samuel.thibault@ens-lyon.org> Signed-off-by: Tom Rix <trix@redhat.com> Link: https://lore.kernel.org/r/20220329195401.3220408-1-trix@redhat.com Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
This commit is contained in:
Родитель
ce522ba9ef
Коммит
0b4efcb1b5
|
@ -1,6 +1,6 @@
|
||||||
// SPDX-License-Identifier: GPL-2.0+
|
// SPDX-License-Identifier: GPL-2.0+
|
||||||
/* fakekey.c
|
/* fakekey.c
|
||||||
* Functions for simulating keypresses.
|
* Functions for simulating key presses.
|
||||||
*
|
*
|
||||||
* Copyright (C) 2010 the Speakup Team
|
* 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.
|
* Returns a boolean.
|
||||||
*/
|
*/
|
||||||
bool speakup_fake_key_pressed(void)
|
bool speakup_fake_key_pressed(void)
|
||||||
|
|
|
@ -59,7 +59,7 @@ const struct old_serial_port *spk_serial_init(int index)
|
||||||
}
|
}
|
||||||
ser = rs_table + index;
|
ser = rs_table + index;
|
||||||
|
|
||||||
/* Divisor, bytesize and parity */
|
/* Divisor, byte size and parity */
|
||||||
quot = ser->baud_base / baud;
|
quot = ser->baud_base / baud;
|
||||||
cval = cflag & (CSIZE | CSTOPB);
|
cval = cflag & (CSIZE | CSTOPB);
|
||||||
#if defined(__powerpc__) || defined(__alpha__)
|
#if defined(__powerpc__) || defined(__alpha__)
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Copyright (C) 1998-99 Kirk Reiser.
|
* Copyright (C) 1998-99 Kirk Reiser.
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* package and is not a general device driver.
|
||||||
* This driver is for the Aicom Acent PC internal synthesizer.
|
* This driver is for the Aicom Acent PC internal synthesizer.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Copyright (C) 1998-99 Kirk Reiser.
|
* Copyright (C) 1998-99 Kirk Reiser.
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* package and is not a general device driver.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Copyright (C) 1998-99 Kirk Reiser.
|
* Copyright (C) 1998-99 Kirk Reiser.
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* package and is not a general device driver.
|
||||||
*/
|
*/
|
||||||
#include <linux/jiffies.h>
|
#include <linux/jiffies.h>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Copyright (C) 1998-99 Kirk Reiser.
|
* Copyright (C) 1998-99 Kirk Reiser.
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* s not a general device driver.
|
||||||
*/
|
*/
|
||||||
#include "spk_priv.h"
|
#include "spk_priv.h"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Copyright (C) 1998-99 Kirk Reiser.
|
* Copyright (C) 1998-99 Kirk Reiser.
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* package and is not a general device driver.
|
||||||
*/
|
*/
|
||||||
#include "spk_priv.h"
|
#include "spk_priv.h"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Copyright (C) 1998-99 Kirk Reiser.
|
* Copyright (C) 1998-99 Kirk Reiser.
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* s not a general device driver.
|
||||||
*/
|
*/
|
||||||
#include <linux/jiffies.h>
|
#include <linux/jiffies.h>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Copyright (C) 1998-99 Kirk Reiser.
|
* Copyright (C) 1998-99 Kirk Reiser.
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* s not a general device driver.
|
||||||
*/
|
*/
|
||||||
#include <linux/unistd.h>
|
#include <linux/unistd.h>
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Copyright (C) 1998-99 Kirk Reiser.
|
* Copyright (C) 1998-99 Kirk Reiser.
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* package it's not a general device driver.
|
||||||
* This driver is for the RC Systems DoubleTalk PC internal synthesizer.
|
* This driver is for the RC Systems DoubleTalk PC internal synthesizer.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -8,7 +8,7 @@
|
||||||
* Copyright (C) 2003 David Borowski.
|
* Copyright (C) 2003 David Borowski.
|
||||||
* Copyright (C) 2007 Samuel Thibault.
|
* 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.
|
* s not a general device driver.
|
||||||
*/
|
*/
|
||||||
#include "spk_priv.h"
|
#include "spk_priv.h"
|
||||||
|
|
|
@ -4,7 +4,7 @@
|
||||||
*
|
*
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* package it's not a general device driver.
|
||||||
* This driver is for the Keynote Gold internal synthesizer.
|
* This driver is for the Keynote Gold internal synthesizer.
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Copyright (C) 1998-99 Kirk Reiser.
|
* Copyright (C) 1998-99 Kirk Reiser.
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* s not a general device driver.
|
||||||
*/
|
*/
|
||||||
#include "speakup.h"
|
#include "speakup.h"
|
||||||
|
|
|
@ -5,7 +5,7 @@
|
||||||
*
|
*
|
||||||
* Copyright (C) 2003 Kirk Reiser.
|
* 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.
|
* package and is not a general device driver.
|
||||||
*/
|
*/
|
||||||
|
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Copyright (C) 1998-99 Kirk Reiser.
|
* Copyright (C) 1998-99 Kirk Reiser.
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* s not a general device driver.
|
||||||
*/
|
*/
|
||||||
#include "spk_priv.h"
|
#include "spk_priv.h"
|
||||||
|
|
|
@ -6,7 +6,7 @@
|
||||||
* Copyright (C) 1998-99 Kirk Reiser.
|
* Copyright (C) 1998-99 Kirk Reiser.
|
||||||
* Copyright (C) 2003 David Borowski.
|
* 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.
|
* s not a general device driver.
|
||||||
*/
|
*/
|
||||||
#include "spk_priv.h"
|
#include "spk_priv.h"
|
||||||
|
|
Загрузка…
Ссылка в новой задаче