vt: extract attribute inversion to vc_invert_attr
authorJiri Slaby <jslaby@suse.cz>
Mon, 15 Jun 2020 07:48:46 +0000 (09:48 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Wed, 24 Jun 2020 15:08:32 +0000 (17:08 +0200)
commit881c8783e9608be9f86d67705dc7b5adeb3e4808
tree405d890e6bafbda409efc4b79750174ec8328af7
parentede98d12b6c2bdb34efcd64369ca3ab2af304e16
vt: extract attribute inversion to vc_invert_attr

We continue cleaning up do_con_write. This (hopefully) makes the
inversion code obvious.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Link: https://lore.kernel.org/r/20200615074910.19267-14-jslaby@suse.cz
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c