linux/drivers/media/usb/s2255
Hans Verkuil ff3ec57df9 [media] s2255drv: fix sparse warning
drivers/media/usb/s2255/s2255drv.c:2248:20: warning: cast to restricted __le16

At the USB structs there are two different idProduct:
	usb_device_id::idProduct - already on CPU endiannes
	usb_device::descriptor.idProduct - with is LE16

In this specific case, the driver checks for the one at usb_device_id
struct, with already have CPU endianness. So, no conversion is required.

Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <m.chehab@samsung.com>
2014-09-03 09:54:16 -03:00
..
Kconfig [media] Sensoray 2255 uses videobuf2 2014-03-24 17:23:43 -03:00
Makefile [media] move the remaining USB drivers to drivers/media/usb 2012-08-15 16:34:46 -03:00
s2255drv.c [media] s2255drv: fix sparse warning 2014-09-03 09:54:16 -03:00