android_kernel_xiaomi_sm8350/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
..
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 V4L/DVB (9799): em28xx: fix Kworld Hybrid 330 (A316) support 2008-12-30 09:38:28 -02:00
em28xx-i2c.c V4L/DVB (9754): em28xx: improve debug messages 2008-12-29 17:53:42 -02:00
em28xx-input.c V4L/DVB (10177): Fix sparse warnings on em28xx 2009-01-07 22:18:55 -02:00
em28xx-reg.h V4L/DVB (10160): em28xx: update chip id for em2710 2009-01-02 17:14:28 -02:00
em28xx-video.c V4L/DVB (10141): v4l2: debugging API changed to match against driver name instead of ID. 2009-01-02 17:11:52 -02:00
em28xx.h V4L/DVB (10163): em28xx: allocate adev together with struct em28xx dev 2009-01-02 17:14:55 -02:00
Kconfig
Makefile