OSDN Git Service

media: em28xx: stop rewriting device's struct
authorMauro Carvalho Chehab <mchehab@s-opensource.com>
Thu, 1 Mar 2018 15:08:42 +0000 (10:08 -0500)
committerMauro Carvalho Chehab <mchehab@s-opensource.com>
Tue, 6 Mar 2018 09:48:40 +0000 (04:48 -0500)
commitaa62980be47e1fe1f40cbaf0a80589193faa7ab9
tree42deb70f97142889a31aa407bd1efc7a5a6e5438
parent6cda90b63edd1d2b1446793e0fcb8b4a725f8ac5
media: em28xx: stop rewriting device's struct

Writing at the device's struct is evil, as two em28xx devices
may be using it. So, stop abusing it, storing the values
inside struct em28xx_dev.

Signed-off-by: Mauro Carvalho Chehab <mchehab@s-opensource.com>
drivers/media/usb/em28xx/em28xx-cards.c
drivers/media/usb/em28xx/em28xx-core.c
drivers/media/usb/em28xx/em28xx-video.c
drivers/media/usb/em28xx/em28xx.h