[media] em28xx: Replace memcpy with struct assignment
authorEzequiel Garcia <elezegarcia@gmail.com>
Wed, 26 Sep 2012 09:25:12 +0000 (06:25 -0300)
committerMauro Carvalho Chehab <mchehab@redhat.com>
Sat, 6 Oct 2012 15:23:15 +0000 (12:23 -0300)
commite0f6e4d6ff8d82ca6813f47d12f85224d7491d9e
tree00266bda47a97f7f5635e3ad962fdfcb29641d59
parent34e59a7d45950b1a03e498d34c1baf4998218cd7
[media] em28xx: Replace memcpy with struct assignment

This kind of memcpy() is error-prone and its
replacement with a struct assignment is prefered.

Signed-off-by: Ezequiel Garcia <elezegarcia@gmail.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
drivers/media/usb/em28xx/em28xx-cards.c