linux-kernel-test/drivers/net/wireless
Julia Lawall 87cdb9894b drivers/net/wireless: Use DIV_ROUND_CLOSEST
The kernel.h macro DIV_ROUND_CLOSEST performs the computation (x + d/2)/d
but is perhaps more readable.

The semantic patch that makes this change is as follows:
(http://www.emn.fr/x-info/coccinelle/)

// <smpl>
@haskernel@
@@

#include <linux/kernel.h>

@depends on haskernel@
expression x,__divisor;
@@

- (((x) + ((__divisor) / 2)) / (__divisor))
+ DIV_ROUND_CLOSEST(x,__divisor)
// </smpl>

Signed-off-by: Julia Lawall <julia@diku.dk>
Signed-off-by: John W. Linville <linville@tuxdriver.com>
2009-08-04 16:44:23 -04:00
..
ath mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
b43 b43: remove wrong probe_resp_plcp write 2009-08-04 16:44:21 -04:00
b43legacy mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
hostap hostap_cs: Enable shared interrupts 2009-07-24 15:05:19 -04:00
ipw2x00 drivers/net: Drop unnecessary NULL test 2009-07-24 15:05:12 -04:00
iwlwifi iwlwifi: remove duplicated version info from sysfs 2009-08-04 16:44:23 -04:00
iwmc3200wifi Merge branch 'master' of git://git.kernel.org/pub/scm/linux/kernel/git/linville/wireless-next-2.6 2009-07-30 19:26:55 -07:00
libertas libertas: Fix WEP association failure with open source wpa_supplicant 0.5.10 2009-08-04 16:44:23 -04:00
libertas_tf
orinoco orinoco: enable cfg80211 "set_channel" operation 2009-08-04 16:43:26 -04:00
p54 mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
prism54 drivers/net/wireless: Use PCI_VDEVICE 2009-07-10 15:02:25 -04:00
rt2x00 mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
rtl818x mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
wl12xx wl1251: remove wl1251_plt_start/stop() 2009-07-24 15:05:29 -04:00
zd1211rw mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
adm8211.c adm8211: remove uneeded code during suspend/resume 2009-07-24 15:05:30 -04:00
adm8211.h
airo_cs.c
airo.c Merge branch 'master' of master.kernel.org:/pub/scm/linux/kernel/git/davem/net-2.6 2009-07-30 19:22:43 -07:00
airo.h
arlan-main.c arlan: inverted logic? 2009-07-24 15:05:27 -04:00
arlan-proc.c
arlan.h
at76c50x-usb.c mac80211: redefine usage of the mac80211 workqueue 2009-08-04 16:44:14 -04:00
at76c50x-usb.h
atmel_cs.c
atmel_pci.c
atmel.c
atmel.h
i82586.h
i82593.h
Kconfig wireless: use menuconfig for WLAN_PRE80211 and WLAN_80211 2009-08-04 16:43:21 -04:00
mac80211_hwsim.c wireless: remove print_mac uses 2009-07-24 15:05:19 -04:00
Makefile
mwl8k.c wireless: remove print_mac uses 2009-07-24 15:05:19 -04:00
netwave_cs.c
ray_cs.c ray_cs: remove bogus NULL check at head of ray_get_wireless_stats 2009-07-29 15:45:59 -04:00
ray_cs.h
rayctl.h
rndis_wlan.c rndis_wlan: rework key handling 2009-08-04 16:44:17 -04:00
strip.c drivers/net/wireless: Use DIV_ROUND_CLOSEST 2009-08-04 16:44:23 -04:00
wavelan_cs.c
wavelan_cs.h
wavelan_cs.p.h
wavelan.c
wavelan.h
wavelan.p.h
wl3501_cs.c
wl3501.h
zd1201.c
zd1201.h