commit | 0141bb2ed95d87cbcc53ebd282b943d061881fce | [log] [tgz] |
---|---|---|
author | Peter Huewe <peterhuewe@gmx.de> | Tue Feb 05 00:29:44 2013 +0100 |
committer | Greg Kroah-Hartman <gregkh@linuxfoundation.org> | Tue Feb 05 11:16:21 2013 -0800 |
tree | e492395fb23f7d4811d334d07fbe4bf4e2256f22 | |
parent | 227dc1156c103b7e073ee81e642e15d7927af828 [diff] |
staging/xgifb: Move duplicated code for dram to helper function XGINew_SetDRAMDefaultRegister340 uses the same code fragment 4 times with only a slight variation each time. -> Move this code to a helper function - this saves some lines and ~450bytes in the .o / .ko Tested-by: Aaro Koskinen <aaro.koskinen@iki.fi> Signed-off-by: Peter Huewe <peterhuewe@gmx.de> Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>