tty: vt, separate T.416 high colors handler
authorJiri Slaby <jslaby@suse.cz>
Thu, 23 Jun 2016 11:34:31 +0000 (13:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 16:04:48 +0000 (09:04 -0700)
commite05ab238e30572abbac0cc4aba051553928de949
tree1f687dcddffb73307a89b22835b73444c2c15d4a
parentd711ea8f762eec3bc057bc92423c6ec804523a40
tty: vt, separate T.416 high colors handler

The code with T.416 high colors handling is flushed to the right and
hard to read. Move the code to a separate function and remove code
duplication for foreground & background colors.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c