[PATCH] [MTD] maps/ixp4xx: Use resource_size

Artem Bityutskiy dedekind1 at gmail.com
Mon Nov 9 04:36:03 EST 2009


On Fri, 2009-10-30 at 17:54 +0100, Tobias Klauser wrote:
> Use the resource_size inline function instead of manually calculating
> the resource size. This reduces the chance of introducing off-by-one
> errors.
> 
> Signed-off-by: Tobias Klauser <tklauser at distanz.ch>
> ---
>  drivers/mtd/maps/ixp4xx.c |    6 +++---
>  1 files changed, 3 insertions(+), 3 deletions(-)

Taken to l2-mtd-2.6 tree, thanks.

-- 
Best Regards,
Artem Bityutskiy (Артём Битюцкий)




More information about the linux-mtd mailing list