linux/drivers/media/rc
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
..
img-ir [media] img-ir: fix sparse warnings 2014-09-03 08:54:27 -03:00
keymaps [media] ati_remote: Better default keycodes 2014-07-25 23:59:06 -03:00
ati_remote.c [media] ati_remote: Use non-alomic __set_bit 2014-07-25 23:52:15 -03:00
ene_ir.c [media] ene_ir: use true/false for boolean vars 2014-09-03 17:59:20 -03:00
ene_ir.h [media] ene_ir: don't use pr_debug after all 2013-07-29 11:49:45 -03:00
fintek-cir.c [media] fintek-cir: just return 0 instead of using a var 2014-09-03 17:59:54 -03:00
fintek-cir.h [media] rc: Fir warnings on m68k arch 2013-11-08 09:45:37 -02:00
gpio-ir-recv.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
iguanair.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
imon.c [media] media/rc/imon.c: use USB API functions rather than constants 2014-09-22 17:12:08 -03:00
ir-jvc-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-lirc-codec.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-mce_kbd-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-nec-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-rc5-decoder.c [media] ir-rc5-decoder: print where decoding fails 2014-07-30 15:49:35 -03:00
ir-rc6-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-rx51.c [media] ir-rx51: remove deprecated IRQF_DISABLED 2013-10-17 06:09:02 -03:00
ir-sanyo-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-sharp-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-sony-decoder.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ir-xmp-decoder.c [media] rc: Add support for decoding XMP protocol 2014-07-26 19:38:04 -03:00
ite-cir.c [media] ite-cir: just return 0 instead of using a var 2014-09-03 17:59:54 -03:00
ite-cir.h
Kconfig [media] enable COMPILE_TEST for media drivers 2014-08-26 18:52:19 -03:00
lirc_dev.c [media] lirc_dev: fix sparse warnings 2014-09-03 10:29:49 -03:00
Makefile [media] rc: Add support for decoding XMP protocol 2014-07-26 19:38:04 -03:00
mceusb.c [media] mceusb: select default keytable based on vendor 2014-07-27 17:37:01 -03:00
nuvoton-cir.c [media] nuvoton-cir: just return 0 instead of using a var 2014-09-03 17:59:55 -03:00
nuvoton-cir.h [media] nuvoton-cir: Don't touch PS/2 interrupts while initializing 2014-02-04 17:47:26 -02:00
rc-core-priv.h [media] rc: Add support for decoding XMP protocol 2014-07-26 19:38:04 -03:00
rc-ir-raw.c [media] rc: Add support for decoding XMP protocol 2014-07-26 19:38:04 -03:00
rc-loopback.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
rc-main.c [media] rc-main: allow raw protocol drivers to restrict the allowed protos 2014-07-30 15:45:48 -03:00
redrat3.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
st_rc.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
streamzap.c [media] rc-core: use USB API functions rather than constants 2014-09-22 17:27:01 -03:00
sunxi-cir.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
ttusbir.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00
winbond-cir.c [media] rc-core: remove protocol arrays 2014-07-25 19:10:43 -03:00