[media] saa7164: Replace struct memcpy with struct assignment
authorEzequiel García <elezegarcia@gmail.com>
Wed, 27 Jun 2012 15:52:51 +0000 (12:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 22:53:46 +0000 (19:53 -0300)
commitddebe8cdd6c8d5f937c6587d2636079a5d096247
tree0a34fe8d7b1353e325ded4c5a8472662822af358
parent5a6fa3fe9a465d1c5e1e6bf8a4ad1ca9063131a5
[media] saa7164: Replace struct memcpy with struct assignment

Copying structs by assignment is type safe.
Plus, is shorter and easier to read.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/video/saa7164/saa7164-i2c.c