linux/drivers/video/console
Jiri Slaby 35cc56f9a3 tty: vgacon+sisusb, move scrolldelta to a common helper
The code is mirrorred in scrolldelta implementations of both vgacon
and sisusb. Let's move the code to a separate helper where we will
perform a common cleanup and further changes.

While we are moving the code, make it linear and save one indentation
level. This is done by returning from the "!lines" then-branch
immediatelly. This allows flushing the else-branch 1 level to the
left, obviously.

Few more new lines and comments were added too.

And do not forget to export the helper function given sisusb can be
built as module.

Signed-off-by: Jiri Slaby <jslaby@suse.cz>
Cc: Thomas Winischhofer <thomas@winischhofer.net>
Cc: Tomi Valkeinen <tomi.valkeinen@ti.com>
Cc: <linux-fbdev@vger.kernel.org>
Cc: <linux-usb@vger.kernel.org>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-10-27 16:37:44 +02:00
..
bitblit.c framebuffer: fix border color 2014-09-30 13:39:16 +03:00
dummycon.c tty: vt, remove consw->con_bmove 2016-06-25 09:04:48 -07:00
fbcon_ccw.c framebuffer: fix border color 2014-09-30 13:39:16 +03:00
fbcon_cw.c framebuffer: fix border color 2014-09-30 13:39:16 +03:00
fbcon_rotate.c
fbcon_rotate.h
fbcon_ud.c framebuffer: fix border color 2014-09-30 13:39:16 +03:00
fbcon.c tty: vt, cleanup and document con_scroll 2016-10-27 16:37:43 +02:00
fbcon.h fbcon: use the cursor blink interval provided by vt 2015-05-10 19:15:52 +02:00
Kconfig fbdev changes for 4.3 2015-09-08 16:42:55 -07:00
Makefile lib: Move fonts from drivers/video/console/ to lib/fonts/ 2013-06-28 10:28:22 +02:00
mdacon.c tty: vt, cleanup and document con_scroll 2016-10-27 16:37:43 +02:00
newport_con.c tty: vt, cleanup and document con_scroll 2016-10-27 16:37:43 +02:00
softcursor.c drivers/video/console/softcursor.c: remove redundant NULL check before kfree() 2012-12-10 11:33:53 +02:00
sticon.c tty: vt, cleanup and document con_scroll 2016-10-27 16:37:43 +02:00
sticore.c video: move fbdev to drivers/video/fbdev 2014-04-17 08:10:19 +03:00
tileblit.c fbcon: Bugfix soft cursor detection in Tile Blitting 2011-03-22 16:41:08 +09:00
vgacon.c tty: vgacon+sisusb, move scrolldelta to a common helper 2016-10-27 16:37:44 +02:00