staging: xgifb: eliminate IF_DEF_LVDS checks from vb_init
authorAaro Koskinen <aaro.koskinen@iki.fi>
Wed, 27 Mar 2013 21:53:07 +0000 (23:53 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 28 Mar 2013 23:10:15 +0000 (16:10 -0700)
commitc0d60da8f2729424774800ae37e6207106aefe52
tree52678b32c2b497027afda68bd3613cefd8596dca
parent6bc542779fb70d057290327b3604a9a957d9a495
staging: xgifb: eliminate IF_DEF_LVDS checks from vb_init

Inside vb_init, IF_DEF_LVDS tells only if the vbios was succesfully read
on XG21. Rearrange the code so that we don't need to set or care about
this flag.

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