]> git.baikalelectronics.ru Git - kernel.git/commit
[media] cx231xx: Replace struct memcpy with struct assignment
authorEzequiel García <elezegarcia@gmail.com>
Wed, 27 Jun 2012 15:52:53 +0000 (12:52 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Mon, 30 Jul 2012 22:54:15 +0000 (19:54 -0300)
commit7f985bd86299cf3ec87f1f57e527fd2571dc2bf3
treeba20a19a02c26bc665a3fa3491e10c51974ed4b6
parent3f297406e2e25177b05fa2f95fa0641af0994d9c
[media] cx231xx: 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/cx231xx/cx231xx-i2c.c