aboutsummaryrefslogtreecommitdiffstats
path: root/drivers/staging/speakup/keyhelp.c
diff options
context:
space:
mode:
authorLijo Antony <lijo.kernel@gmail.com>2013-01-08 22:39:02 +0400
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>2013-01-17 13:31:07 -0800
commited52565565e9ba9e081fd20c83f3166b78b4c2ac (patch)
treee926ecb04204aa7d0c96fbbe6b9ddf9e3490fd4d /drivers/staging/speakup/keyhelp.c
parentStaging: speakup: buffers.c: checkpatch.pl fixes (diff)
downloadlinux-dev-ed52565565e9ba9e081fd20c83f3166b78b4c2ac.tar.xz
linux-dev-ed52565565e9ba9e081fd20c83f3166b78b4c2ac.zip
Staging: speakup: keyhelp.c: checkpatch.pl fixes
Breaking 2 lines to fit 80 char limit Signed-off-by: Lijo Antony <lijo.kernel@gmail.com> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
Diffstat (limited to 'drivers/staging/speakup/keyhelp.c')
-rw-r--r--drivers/staging/speakup/keyhelp.c7
1 files changed, 5 insertions, 2 deletions
diff --git a/drivers/staging/speakup/keyhelp.c b/drivers/staging/speakup/keyhelp.c
index 4c584ecbd1fa..5091625a4901 100644
--- a/drivers/staging/speakup/keyhelp.c
+++ b/drivers/staging/speakup/keyhelp.c
@@ -118,7 +118,8 @@ static void say_key(int key)
synth_printf(" %s", spk_msg_get(MSG_STATES_START + i));
}
if ((key > 0) && (key <= num_key_names))
- synth_printf(" %s\n", spk_msg_get(MSG_KEYNAMES_START + (key - 1)));
+ synth_printf(" %s\n",
+ spk_msg_get(MSG_KEYNAMES_START + (key - 1)));
}
static int help_init(void)
@@ -169,7 +170,9 @@ int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key)
cur_item--;
else
return -1;
- } else if (type == KT_SPKUP && ch == SPEAKUP_HELP && !spk_special_handler) {
+ } else if (type == KT_SPKUP
+ && ch == SPEAKUP_HELP
+ && !spk_special_handler) {
spk_special_handler = spk_handle_help;
synth_printf("%s\n", spk_msg_get(MSG_HELP_INFO));
build_key_data(); /* rebuild each time in case new mapping */