[PATCH 6/10] drivers/mtd: Use DIV_ROUND_UP

David Woodhouse dwmw2 at infradead.org
Sat Aug 2 13:45:43 EDT 2008


On Sat, 2008-08-02 at 17:14 +0200, Julia Lawall wrote:
> From: Julia Lawall <julia at diku.dk>
> 
> The kernel.h macro DIV_ROUND_UP performs the computation (((n) + (d) -
> 1) / (d)) but is perhaps more readable.

Applied; thanks.

-- 
David Woodhouse                            Open Source Technology Centre
David.Woodhouse at intel.com                              Intel Corporation




More information about the linux-mtd mailing list