From 0141bb2ed95d87cbcc53ebd282b943d061881fce Mon Sep 17 00:00:00 2001 From: Peter Huewe Date: Tue, 5 Feb 2013 00:29:44 +0100 Subject: [PATCH] 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 Signed-off-by: Peter Huewe Signed-off-by: Greg Kroah-Hartman --- Reading git-format-patch failed