Skip to content
Commit c8872b06 authored by Julia Lawall's avatar Julia Lawall Committed by David Woodhouse
Browse files

[MTD] Use DIV_ROUND_UP



The kernel.h macro DIV_ROUND_UP performs the computation (((n) + (d) - 1) /
(d)) but is perhaps more readable.

Signed-off-by: default avatarJulia Lawall <julia@diku.dk>
Signed-off-by: default avatarDavid Woodhouse <David.Woodhouse@intel.com>
parent c4308d10
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment