staging: xgifb: call XGI_GetVBType from InitTo330Pointer
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 29 May 2013 20:59:02 +0000 (23:59 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 30 May 2013 11:55:47 +0000 (20:55 +0900)
commitce76de5abe223ea307536061f1a13932a61404f1
tree1e26d4eebeae8b137717b95cfb607ef971a082e6
parent4b8071121dfc7703c9b0bf5e2e66d0bbe7e24990
staging: xgifb: call XGI_GetVBType from InitTo330Pointer

Move XGI_GetVBType call inside InitTo330Pointer to avoid code duplication.

Signed-off-by: Aaro Koskinen <aaro.koskinen@iki.fi>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_init.c
drivers/staging/xgifb/vb_setmode.c