linux/drivers/media
Himangi Saraogi 5611588b86 [media] rc-core: use USB API functions rather than constants
This patch introduces the use of !usb_endpoint_dir_in(epd) and
!usb_endpoint_xfer_int(epd).

The Coccinelle semantic patch that makes these changes is as follows:

- ((epd->bEndpointAddress & \(USB_ENDPOINT_DIR_MASK\|0x80\)) !=
-  \(USB_DIR_IN\|0x80\))
+ !usb_endpoint_dir_in(epd)

@@ struct usb_endpoint_descriptor *epd; @@

- ((epd->bmAttributes & \(USB_ENDPOINT_XFERTYPE_MASK\|3\)) !=
- \(USB_ENDPOINT_XFER_INT\|3\))
+ !usb_endpoint_xfer_int(epd)

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-09-22 17:27:01 -03:00
..
common [media] drivers: media: b2c2: flexcop.h: Fix typo in include guard 2014-09-21 20:11:54 -03:00
dvb-core Merge remote-tracking branch 'linus/master' into patchwork 2014-09-21 16:40:04 -03:00
dvb-frontends [media] dvb: return the error from i2c_transfer if negative 2014-09-22 17:05:13 -03:00
firewire firewire: introduce fw_driver.probe and .remove methods 2013-06-09 18:15:00 +02:00
i2c [media] adv7604/adv7842: fix il_vbackporch typo and zero the struct 2014-09-21 20:41:00 -03:00
mmc [media] siano: get rid of CammelCase from smscoreapi.h 2013-03-21 10:03:16 -03:00
parport [media] v4l: Support extending the v4l2_pix_format structure 2014-07-17 12:44:47 -03:00
pci [media] cx23885: fix size helper functions 2014-09-21 20:42:29 -03:00
platform [media] vivid: add teletext support to VBI capture 2014-09-21 20:40:05 -03:00
radio [media] radio-si470x-usb: use USB API functions rather than constants 2014-09-21 20:10:33 -03:00
rc [media] rc-core: use USB API functions rather than constants 2014-09-22 17:27:01 -03:00
tuners [media] tda18212: convert to RegMap API 2014-09-21 20:06:23 -03:00
usb [media] em28xx: Get rid of some unused modprobe parameters at vbi code 2014-09-21 21:06:44 -03:00
v4l2-core [media] v4l2-dv-timings: only check standards if non-zero 2014-09-21 20:40:33 -03:00
Kconfig [media] Kconfig: do not select SPI bus on sub-driver auto-select 2014-09-04 12:18:49 -03:00
Makefile
media-device.c [media] media: Use strlcpy instead of custom code 2014-09-21 20:27:08 -03:00
media-devnode.c [media] media-devnode: just return 0 instead of using a var 2014-09-03 17:59:28 -03:00
media-entity.c [media] media: Check for active links on pads with MEDIA_PAD_FL_MUST_CONNECT flag 2013-12-04 15:03:45 -02:00