Commit ed525655 authored by Lijo Antony's avatar Lijo Antony Committed by Greg Kroah-Hartman

Staging: speakup: keyhelp.c: checkpatch.pl fixes

Breaking 2 lines to fit 80 char limit
Signed-off-by: default avatarLijo Antony <lijo.kernel@gmail.com>
Signed-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 5c75af1a
...@@ -118,7 +118,8 @@ static void say_key(int key) ...@@ -118,7 +118,8 @@ static void say_key(int key)
synth_printf(" %s", spk_msg_get(MSG_STATES_START + i)); synth_printf(" %s", spk_msg_get(MSG_STATES_START + i));
} }
if ((key > 0) && (key <= num_key_names)) 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) 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) ...@@ -169,7 +170,9 @@ int spk_handle_help(struct vc_data *vc, u_char type, u_char ch, u_short key)
cur_item--; cur_item--;
else else
return -1; 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; spk_special_handler = spk_handle_help;
synth_printf("%s\n", spk_msg_get(MSG_HELP_INFO)); synth_printf("%s\n", spk_msg_get(MSG_HELP_INFO));
build_key_data(); /* rebuild each time in case new mapping */ build_key_data(); /* rebuild each time in case new mapping */
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment