s3cmci: use resource_size() instead of local macro
authorBen Dooks <ben@simtec.co.uk>
Thu, 1 Oct 2009 22:44:13 +0000 (15:44 -0700)
committerLinus Torvalds <torvalds@linux-foundation.org>
Thu, 1 Oct 2009 23:11:14 +0000 (16:11 -0700)
commitda52a7ca7a689712e689e2cc5936cd9fa34df443
tree9eaa2df90882c4bac14f75d51ab2a17e50393e23
parentef8745c1e7fc5413d760b3b958f3fd3a0beaad72
s3cmci: use resource_size() instead of local macro

Replace the local definition RESSIZE() with the standard resource_size()
call for getting the size of a struct resource.

Signed-off-by: Ben Dooks <ben@simtec.co.uk>
Cc: <linux-mmc@vger.kernel.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/mmc/host/s3cmci.c