]> git.baikalelectronics.ru Git - kernel.git/commit
[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)
commit4a334380c963402611f009c6a988d9c59722ae0b
tree79cbe2a22e9f0ae64f59cbb1d4c6cc412aed94c3
parent7f985bd86299cf3ec87f1f57e527fd2571dc2bf3
[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