tty: vt, convert more macros to functions
authorJiri Slaby <jslaby@suse.cz>
Thu, 23 Jun 2016 11:34:35 +0000 (13:34 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Sat, 25 Jun 2016 16:04:48 +0000 (09:04 -0700)
commit6ca8dfd78187d8238abc5b2996848a0c8f07948d
tree9ac4c3325558f7e31ca35e34c7f07407ce865d53
parentaada0a344182e3aec7bfb0cc611f272e6297c3e3
tty: vt, convert more macros to functions

Namely convert:
* IS_FG -> con_is_fg
* DO_UPDATE -> con_should_update
* CON_IS_VISIBLE -> con_is_visible

DO_UPDATE was a weird name for a yes/no answer, so the new name is
con_should_update.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: Jean-Christophe Plagniol-Villard <plagnioj@jcrosoft.com>
Cc: linux-usb@vger.kernel.org
Cc: linux-fbdev@vger.kernel.org
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/tty/vt/vt.c
drivers/usb/misc/sisusbvga/sisusb_con.c
drivers/video/console/fbcon.c
drivers/video/console/vgacon.c
include/linux/console_struct.h