Use macro DIV_ROUND_UP
v2 cover Use macro DIV_ROUND_UP
This patchset replaces occurences of (((n) + (d) - 1) /(d)) with the kernel.h macro DIV_ROUND_UP.
Bhaktipriya Shridhar (4):
staging: rtl8723au: hal: Use macro DIV_ROUND_UP
staging: rtl8192e: Prefer using macro DIV_ROUND_UP
staging: most: hdm-usb: Use macro DIV_ROUND_UP
staging: most: hdm-dim2: Use macro DIV_ROUND_UP
drivers/staging/most/hdm-dim2/dim2_hal.c | 4 ++-- drivers/staging/most/hdm-usb/hdm_usb.c | 3 +-- drivers/staging/rtl8192e/rtllib_crypt_ccmp.c | 4 ++-- drivers/staging/rtl8723au/hal/usb_halinit.c | 3 +-- 4 files changed, 6 insertions(+), 8 deletions(-)
--
2.1.4