linux/drivers/media/radio
Himangi Saraogi a0ffe4c090 [media] radio-si470x-usb: use USB API functions rather than constants
This patch introduces the use of the function usb_endpoint_is_int_in.

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

@@ struct usb_endpoint_descriptor *epd; @@

- ((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)

@@ struct usb_endpoint_descriptor *epd; @@

- (usb_endpoint_xfer_int(epd) && usb_endpoint_dir_in(epd))
+ usb_endpoint_is_int_in(epd)

Signed-off-by: Himangi Saraogi <himangi774@gmail.com>
Acked-by: Julia Lawall <julia.lawall@lip6.fr>
Signed-off-by: Hans Verkuil <hans.verkuil@cisco.com>
Signed-off-by: Mauro Carvalho Chehab <mchehab@osg.samsung.com>
2014-09-21 20:10:33 -03:00
..
si470x [media] radio-si470x-usb: use USB API functions rather than constants 2014-09-21 20:10:33 -03:00
si4713 [media] si4713: add the missing RDS functionality 2014-07-25 19:27:29 -03:00
wl128x [media] wl128x: fix sparse warnings 2014-09-03 09:39:15 -03:00
dsbr100.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
Kconfig [media] radio-raremono: add support for 'Thanko's Raremono' AM/FM/SW USB device 2013-12-18 11:30:32 -02:00
lm7000.h
Makefile [media] radio-raremono: add support for 'Thanko's Raremono' AM/FM/SW USB device 2013-12-18 11:30:32 -02:00
radio-aimslab.c
radio-aztech.c
radio-cadet.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-gemtek.c [media] radio: use true/false for boolean vars 2014-09-03 17:59:20 -03:00
radio-isa.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-isa.h
radio-keene.c [media] Fix 64-bit division fall-out from 64-bit control ranges 2014-07-17 12:44:38 -03:00
radio-ma901.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-maxiradio.c
radio-miropcm20.c [media] radio-miropcm20: fix sparse NULL pointer warning 2014-07-30 19:50:09 -03:00
radio-mr800.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-raremono.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-rtrack2.c
radio-sf16fmi.c [media] radio: use true/false for boolean vars 2014-09-03 17:59:20 -03:00
radio-sf16fmr2.c
radio-shark2.c
radio-shark.c
radio-si476x.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-tea5764.c [media] radio-tea5764: fix sparse warnings 2014-09-03 09:30:56 -03:00
radio-tea5777.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-tea5777.h
radio-terratec.c
radio-timb.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
radio-trust.c
radio-typhoon.c
radio-wl1273.c
radio-zoltrix.c
saa7706h.c
tea575x.c [media] media: remove the setting of the flag V4L2_FL_USE_FH_PRIO 2014-07-04 16:14:59 -03:00
tef6862.c