OSDN Git Service

[media] cx25821: Replace struct memcpy with struct assignment
authorEzequiel García <elezegarcia@gmail.com>
Wed, 27 Jun 2012 15:52:54 +0000 (12:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 22:54:25 +0000 (19:54 -0300)
commitc21813e9746b174e4f426aa0fcb1a69c361a71b2
tree79cbe2a22e9f0ae64f59cbb1d4c6cc412aed94c3
parent23ba641a08a5cf1194cfba8480ecfab8b6623110
[media] cx25821: 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/cx25821/cx25821-i2c.c