]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitbb57e6cea8ab156d956bdfae25997b3942615268
tree42deb70f97142889a31aa407bd1efc7a5a6e5438
parent629ae6fc7f022600d2bf2df23002a24a3d587142
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