linux/drivers/staging/rtl8192u
Bhaktipriya Shridhar b1b20e7155 staging: rtl8192u: ieee80211: Use macro DIV_ROUND_UP
The macro DIV_ROUND_UP performs the computation
(((n) + (d) - 1) /(d)). It clarifies the divisor calculations.
This was done using the coccinelle script:
@@
expression e1;
expression e2;
@@
(
- ((e1) + e2 - 1) / (e2)
+ DIV_ROUND_UP(e1,e2)
|
- ((e1) + (e2 - 1)) / (e2)
+ DIV_ROUND_UP(e1,e2)
)

Signed-off-by: Bhaktipriya Shridhar <bhaktipriya96@gmail.com>
Signed-off-by: Greg Kroah-Hartman <gregkh@linuxfoundation.org>
2016-03-11 22:09:09 -08:00
..
ieee80211 staging: rtl8192u: ieee80211: Use macro DIV_ROUND_UP 2016-03-11 22:09:09 -08:00
authors
changes
copying
Kconfig
Makefile
r819xU_cmdpkt.c
r819xU_cmdpkt.h
r819xU_firmware_img.c
r819xU_firmware_img.h
r819xU_firmware.c
r819xU_firmware.h
r819xU_phy.c staging: rtl8192u: use to_delayed_work 2016-02-07 19:56:45 -08:00
r819xU_phy.h
r819xU_phyreg.h
r8180_93cx6.c
r8180_93cx6.h
r8190_rtl8256.c Staging: rtl8192u: Fix block comment formatting 2016-02-07 19:56:45 -08:00
r8190_rtl8256.h
r8192U_core.c staging: rtl8192u: Remove create_workqueue() 2016-02-20 15:09:57 -08:00
r8192U_dm.c Staging: rtl8192u: Convert long if-else block to switch-case 2016-02-20 15:09:57 -08:00
r8192U_dm.h
r8192U_hw.h
r8192U_wx.c staging: rtl8192u: Fix block comments use * on subsequent lines in r8192U_wx.c 2016-02-07 19:56:45 -08:00
r8192U_wx.h
r8192U.h