Skip to content

Commit

Permalink
Staging: speakup: keyhelp.c: checkpatch.pl fixes
Browse files Browse the repository at this point in the history
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>
  • Loading branch information
Lijo Antony authored and Greg Kroah-Hartman committed Jan 17, 2013
1 parent 5c75af1 commit ed52565
Showing 1 changed file with 5 additions and 2 deletions.
7 changes: 5 additions & 2 deletions drivers/staging/speakup/keyhelp.c
Original file line number Diff line number Diff line change
Expand Up @@ -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)
Expand Down Expand Up @@ -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 */
Expand Down

0 comments on commit ed52565

Please sign in to comment.