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