diff options
author | Ben Dooks <ben@simtec.co.uk> | 2009-09-22 16:46:13 -0700 |
---|---|---|
committer | Linus Torvalds <torvalds@linux-foundation.org> | 2009-09-23 07:39:44 -0700 |
commit | b5e3afb5e32c9acf69fcc17961c3fddc47e9cc06 (patch) | |
tree | cd53de99458f63ba4e55b708484438877be57402 /drivers/misc | |
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>
Diffstat (limited to 'drivers/misc')
0 files changed, 0 insertions, 0 deletions