[PATCH 07/25] efi-stdio: rename to efi_process_escape

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



efi_process_key() really parses an escape sequence, so rename the
function accordingly.

Signed-off-by: Sascha Hauer <s.hauer@xxxxxxxxxxxxxx>
---
 drivers/serial/efi-stdio.c | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/drivers/serial/efi-stdio.c b/drivers/serial/efi-stdio.c
index 22e4e9635a..dec633a7d6 100644
--- a/drivers/serial/efi-stdio.c
+++ b/drivers/serial/efi-stdio.c
@@ -254,7 +254,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;
 
@@ -280,7 +280,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;
 		}
 
-- 
2.30.2


_______________________________________________
barebox mailing list
barebox@xxxxxxxxxxxxxxxxxxx
http://lists.infradead.org/mailman/listinfo/barebox



[Index of Archives]     [Linux Embedded]     [Linux USB Devel]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [XFree86]

  Powered by Linux