Skip to content

Commit

Permalink
efi-stdio: rename to efi_process_escape
Browse files Browse the repository at this point in the history
efi_process_key() really parses an escape sequence, so rename the
function accordingly.

Signed-off-by: Sascha Hauer <[email protected]>
  • Loading branch information
saschahauer committed Dec 13, 2021
1 parent e5184ad commit 15df869
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions drivers/serial/efi-stdio.c
Original file line number Diff line number Diff line change
Expand Up @@ -213,7 +213,7 @@ static int efi_process_square_bracket(struct efi_console_priv *priv, const char
return 8;
}

static int efi_process_key(struct efi_console_priv *priv, const char *inp)
static int efi_process_escape(struct efi_console_priv *priv, const char *inp)
{
char c;

Expand All @@ -239,7 +239,7 @@ static int efi_console_puts(struct console_device *cdev, const char *s,
priv->out->output_string(priv->out,
priv->efi_console_buffer);
n = 0;
s += efi_process_key(priv, s);
s += efi_process_escape(priv, s);
continue;
}

Expand Down

0 comments on commit 15df869

Please sign in to comment.