From: Dan Carpenter Date: Thu, 23 Jan 2014 08:24:27 +0000 (+0300) Subject: staging: cxt1e1: cleanup mfg_template[] a bit X-Git-Tag: v3.15-rc1~139^2~1236 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=388abdac58ba2d195aadaee27170c1e54943777f;p=pandora-kernel.git staging: cxt1e1: cleanup mfg_template[] a bit 1) Make it static. 2) Change it to u8 data instead of short. 3) This means we can memcpy() it to the correct location instead of using a for loop. 4) With memcpy() we can use the union member we want directly instead of copying to the generic .bytes union member. Signed-off-by: Dan Carpenter Signed-off-by: Greg Kroah-Hartman --- Reading git-diff-tree failed