]> 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)
commitf3092b0260a5a7faac45a6d29853434505ab1c75
treefb80637f8d25c929019d8b45f85cab975c6c0f12
parent4f1e4c020783f75994d23407fad362671795783e
[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