edac: mpc85xx use resource_size instead of raw math
authorH Hartley Sweeten <hsweeten@visionengravers.com>
Wed, 10 Mar 2010 23:23:13 +0000 (15:23 -0800)
committerLinus Torvalds <torvalds@linux-foundation.org>
Fri, 12 Mar 2010 23:52:40 +0000 (15:52 -0800)
commit66ed3f7516da31205aed9b47a13348c0d982c4f5
treea73fed75b3da64f1f0803667875ffd0986f47612
parentdcca7c3d003ce61ed71b412f645cfbe7bd8e882e
edac: mpc85xx use resource_size instead of raw math

Use resource_size() instead of arithmetic.

Signed-off-by: H Hartley Sweeten <hsweeten@visionengravers.com>
Signed-off-by: Doug Thompson <dougthompson@xmission.com>
Acked-by: Dave Jiang <djiang@mvista.com>
Cc: Peter Tyser <ptyser@xes-inc.com>
Cc: Kumar Gala <galak@gate.crashing.org>
Signed-off-by: Andrew Morton <akpm@linux-foundation.org>
Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
drivers/edac/mpc85xx_edac.c