commit | b5e3afb5e32c9acf69fcc17961c3fddc47e9cc06 | [log] [tgz] |
---|---|---|
author | Ben Dooks <ben@simtec.co.uk> | Tue Sep 22 16:46:13 2009 -0700 |
committer | Linus Torvalds <torvalds@linux-foundation.org> | Wed Sep 23 07:39:44 2009 -0700 |
tree | cd53de99458f63ba4e55b708484438877be57402 | |
parent | 1a0c220f791be9e15fd897adee257e72ed4134f8 [diff] |
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>