summaryrefslogtreecommitdiff
path: root/linux/drivers/media/video/cx25840
diff options
context:
space:
mode:
authorMauro Carvalho Chehab <mchehab@redhat.com>2009-01-03 19:53:10 +0000
committerMauro Carvalho Chehab <mchehab@redhat.com>2009-01-03 19:53:10 +0000
commit48a5b962830004fe6d60560781a6a21e1919c68f (patch)
treec34005e34e20a8cbc28ede39c7fd0162d59a49b3 /linux/drivers/media/video/cx25840
parent9fbbdfb475da6e55d01ca056dad74e8dc51e1160 (diff)
downloadmediapointer-dvb-s2-48a5b962830004fe6d60560781a6a21e1919c68f.tar.gz
mediapointer-dvb-s2-48a5b962830004fe6d60560781a6a21e1919c68f.tar.bz2
Use negated usb_endpoint_xfer_control, etc
From: Julia Lawall <julia@diku.dk> This patch extends 134179823b3ca9c8b98e0631906459dbb022ff9b 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>
Diffstat (limited to 'linux/drivers/media/video/cx25840')
0 files changed, 0 insertions, 0 deletions