spi_s3c24xx: use resource_size() to get resource size
authorBen Dooks <ben@simtec.co.uk>
Tue, 22 Sep 2009 23:46:13 +0000 (16:46 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Wed, 23 Sep 2009 14:39:44 +0000 (07:39 -0700)
commitb5e3afb5e32c9acf69fcc17961c3fddc47e9cc06
treecd53de99458f63ba4e55b708484438877be57402
parent1a0c220f791be9e15fd897adee257e72ed4134f8
spi_s3c24xx: use resource_size() to get resource size

Change the use of (res->end - res->start) to use resource_size() to
get the size of the resource.

Signed-off-by; Ben Dooks <ben@simtec.co.uk>
Cc: David Brownell <david-b@pacbell.net>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/spi/spi_s3c24xx.c