staging/xgifb: Consolidate XGI_EnableChISLCD and XGI_DisableChISLCD
authorPeter Huewe <peterhuewe@gmx.de>
Sun, 3 Feb 2013 21:54:38 +0000 (22:54 +0100)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Mon, 4 Feb 2013 18:46:28 +0000 (10:46 -0800)
commit06cc47b90b498dd4e6e33ec5fad276d1b1c68e43
treebd2e1852fc6382da7a959debe8719d379282aeea
parent5d1c2a9b289d14ae96b98d33895571f9613ca4f6
staging/xgifb: Consolidate XGI_EnableChISLCD and XGI_DisableChISLCD

These two functions share the same code except one line - thus we can
simply merge them and add a parameter to switch between both variants.

Signed-off-by: Peter Huewe <peterhuewe@gmx.de>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/xgifb/vb_setmode.c