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)
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>

No differences found