staging: cxt1e1: cleanup mfg_template[] a bit
authorDan Carpenter <dan.carpenter@oracle.com>
Thu, 23 Jan 2014 08:24:27 +0000 (11:24 +0300)
committerGreg Kroah-Hartman <gregkh@linuxfoundation.org>
Fri, 7 Feb 2014 18:15:48 +0000 (10:15 -0800)
commit388abdac58ba2d195aadaee27170c1e54943777f
tree2522c7c34f30a3e3b2a67e6333fd1fd324c87607
parent91eef3e2fee581b00f027bbb0d144788a3c609a9
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 <dan.carpenter@oracle.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
drivers/staging/cxt1e1/pmc93x6_eeprom.c