aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup
diff options
context:
space:
mode:
authorChristopher Brannon <cmbrannon79@gmail.com>2010-10-14 19:23:47 -0500
committerGreg Kroah-Hartman <gregkh@suse.de>2010-10-15 12:22:35 -0700
commit28ba8677bcbe9c0365b32d6007a344b49c8c1204 (patch)
tree3d7a265c03156e72e6064f938209f02ae8aa59be /drivers/staging/speakup
parentbf4a4bacb051c278cca819600ecb4ab3f0902f17 (diff)
downloadkernel_samsung_smdk4412-28ba8677bcbe9c0365b32d6007a344b49c8c1204.zip
kernel_samsung_smdk4412-28ba8677bcbe9c0365b32d6007a344b49c8c1204.tar.gz
kernel_samsung_smdk4412-28ba8677bcbe9c0365b32d6007a344b49c8c1204.tar.bz2
staging: speakup: speakup_acntsa.c: style fixes
* Clean this file based on reports from checkpatch.pl. * Eliminate an unused function-like macro. Signed-off-by: Christopher Brannon <chris@the-brannons.com> Signed-off-by: Greg Kroah-Hartman <gregkh@suse.de>
Diffstat (limited to 'drivers/staging/speakup')
-rw-r--r--drivers/staging/speakup/speakup_acntsa.c15
1 files changed, 7 insertions, 8 deletions
diff --git a/drivers/staging/speakup/speakup_acntsa.c b/drivers/staging/speakup/speakup_acntsa.c
index 0418c9d..590fa6b 100644
--- a/drivers/staging/speakup/speakup_acntsa.c
+++ b/drivers/staging/speakup/speakup_acntsa.c
@@ -28,19 +28,18 @@
#include "speakup_acnt.h" /* local header file for Accent values */
#define DRV_VERSION "2.11"
-#define synth_full() (inb_p(speakup_info.port_tts + UART_RX) == 'F')
#define PROCSPEECH '\r'
static int synth_probe(struct spk_synth *synth);
static struct var_t vars[] = {
- { CAPS_START, .u.s = {"\033P8" }},
- { CAPS_STOP, .u.s = {"\033P5" }},
- { RATE, .u.n = {"\033R%c", 9, 0, 17, 0, 0, "0123456789abcdefgh" }},
- { PITCH, .u.n = {"\033P%d", 5, 0, 9, 0, 0, NULL }},
- { VOL, .u.n = {"\033A%d", 9, 0, 9, 0, 0, NULL }},
- { TONE, .u.n = {"\033V%d", 5, 0, 9, 0, 0, NULL }},
- { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL }},
+ { CAPS_START, .u.s = {"\033P8" } },
+ { CAPS_STOP, .u.s = {"\033P5" } },
+ { RATE, .u.n = {"\033R%c", 9, 0, 17, 0, 0, "0123456789abcdefgh" } },
+ { PITCH, .u.n = {"\033P%d", 5, 0, 9, 0, 0, NULL } },
+ { VOL, .u.n = {"\033A%d", 9, 0, 9, 0, 0, NULL } },
+ { TONE, .u.n = {"\033V%d", 5, 0, 9, 0, 0, NULL } },
+ { DIRECT, .u.n = {NULL, 0, 0, 1, 0, 0, NULL } },
V_LAST_VAR
};