]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commitee3baa0216d241a4b199073d4879a5567004c7f9
tree9eaa2df90882c4bac14f75d51ab2a17e50393e23
parente09e1ac2fd8818558a2af78c754a15c29dd37a6f
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