staging/xgifb: Consolidate XGINew_SetDRAMSize{,20}Reg
authorPeter Huewe <peterhuewe@gmx.de>
Wed, 13 Jun 2012 22:21:43 +0000 (00:21 +0200)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Thu, 14 Jun 2012 00:15:41 +0000 (17:15 -0700)
commit391f695b90ba8b3905c818f03188440a5df9cfe7
tree84056bf4ff11dce2c0a5455d799501202071a8f8
parentf3ca589baf317d61b87c409e205bfaf740169710
staging/xgifb: Consolidate XGINew_SetDRAMSize{,20}Reg

This patch consolidates the almost identical functions
XGINew_SetDRAMSizeReg and XGINew_SetDRAMSize20Reg as they are
implemented identically except one division factor.

The changed factor is now reflected in the input data.

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