linux-stable-rt/drivers/media/video/em28xx
Julia Lawall 2230c3c803 V4L/DVB (10185): Use negated usb_endpoint_xfer_control, etc
This patch extends 134179823b by using
usb_endpoint_xfer_control, usb_endpoint_xfer_isoc, usb_endpoint_xfer_bulk,
and usb_endpoint_xfer_int in the negated case as well.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@@ struct usb_endpoint_descriptor *epd; @@

- (usb_endpoint_type(epd) != \(USB_ENDPOINT_XFER_CONTROL\|0\))
+ !usb_endpoint_xfer_control(epd)

@@ struct usb_endpoint_descriptor *epd; @@

- (usb_endpoint_type(epd) != \(USB_ENDPOINT_XFER_ISOC\|1\))
+ !usb_endpoint_xfer_isoc(epd)

@@ struct usb_endpoint_descriptor *epd; @@

- (usb_endpoint_type(epd) != \(USB_ENDPOINT_XFER_BULK\|2\))
+ !usb_endpoint_xfer_bulk(epd)

@@ struct usb_endpoint_descriptor *epd; @@

- (usb_endpoint_type(epd) != \(USB_ENDPOINT_XFER_INT\|3\))
+ !usb_endpoint_xfer_int(epd)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: Mauro Carvalho Chehab <mchehab@redhat.com>
2009-01-07 22:18:56 -02:00
..
Kconfig
Makefile
em28xx-audio.c V4L/DVB (10163): em28xx: allocate adev together with struct em28xx dev 2009-01-02 17:14:55 -02:00
em28xx-cards.c V4L/DVB (10185): Use negated usb_endpoint_xfer_control, etc 2009-01-07 22:18:56 -02:00
em28xx-core.c V4L/DVB (10177): Fix sparse warnings on em28xx 2009-01-07 22:18:55 -02:00
em28xx-dvb.c
em28xx-i2c.c
em28xx-input.c V4L/DVB (10177): Fix sparse warnings on em28xx 2009-01-07 22:18:55 -02:00
em28xx-reg.h
em28xx-video.c
em28xx.h V4L/DVB (10163): em28xx: allocate adev together with struct em28xx dev 2009-01-02 17:14:55 -02:00