Commit 69b2c269 authored by Jiri Slaby (SUSE)'s avatar Jiri Slaby (SUSE) Committed by Greg Kroah-Hartman

tty: vt: rename set_mode() to csi_hl()

It's how the other CSI handling functions are named, so unify to that.
Signed-off-by: default avatar"Jiri Slaby (SUSE)" <jirislaby@kernel.org>
Link: https://lore.kernel.org/r/20240202065608.14019-4-jirislaby@kernel.orgSigned-off-by: default avatarGreg Kroah-Hartman <gregkh@linuxfoundation.org>
parent 608053e1
......@@ -1881,7 +1881,7 @@ enum {
};
/* console_lock is held */
static void set_mode(struct vc_data *vc, int on_off)
static void csi_hl(struct vc_data *vc, bool on_off)
{
int i;
......@@ -2380,11 +2380,11 @@ static void do_con_trol(struct tty_struct *tty, struct vc_data *vc, int c)
switch(c) {
case 'h':
if (vc->vc_priv <= EPdec)
set_mode(vc, 1);
csi_hl(vc, true);
return;
case 'l':
if (vc->vc_priv <= EPdec)
set_mode(vc, 0);
csi_hl(vc, false);
return;
case 'c':
if (vc->vc_priv == EPdec) {
......
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