From: Peter Huewe Date: Mon, 4 Feb 2013 23:29:44 +0000 (+0100) Subject: staging/xgifb: Move duplicated code for dram to helper function X-Git-Tag: v3.9-rc1~127^2~134 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0141bb2ed95d87cbcc53ebd282b943d061881fce;p=pandora-kernel.git 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-diff-tree failed