linux/drivers/net/wireless/zd1211rw
Julia Lawall 33e2fb2f2b drivers/net/wireless: Use usb_endpoint_dir_out
Use the usb_endpoint_dir_out API function.  Note that the use of
USB_TYPE_MASK in the original code is incorrect; it results in a test that
is always false.

The semantic patch that makes this change is as follows:
(http://coccinelle.lip6.fr/)

// <smpl>
@@
struct usb_endpoint_descriptor *endpoint;
expression E;
@@

- (endpoint->bEndpointAddress & E) == USB_DIR_OUT
+ usb_endpoint_dir_out(endpoint)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-09-23 11:35:54 -04:00
..
Kconfig
Makefile
zd_chip.c zd1211rw: make it clear we don't use leds.h LED stuff 2009-08-14 09:12:39 -04:00
zd_chip.h zd1211rw: make it clear we don't use leds.h LED stuff 2009-08-14 09:12:39 -04:00
zd_def.h
zd_mac.c mac80211: allow configure_filter callback to sleep 2009-08-20 11:35:58 -04:00
zd_mac.h
zd_rf_al2230.c
zd_rf_al7230b.c
zd_rf_rf2959.c
zd_rf_uw2453.c
zd_rf.c
zd_rf.h
zd_usb.c drivers/net/wireless: Use usb_endpoint_dir_out 2009-09-23 11:35:54 -04:00
zd_usb.h