mtd: ixp4xx map: use resource_size
authorTobias Klauser <tklauser@distanz.ch>
Fri, 30 Oct 2009 16:54:33 +0000 (17:54 +0100)
committerDavid Woodhouse <David.Woodhouse@intel.com>
Mon, 30 Nov 2009 09:47:24 +0000 (09:47 +0000)
Use the resource_size inline function instead of manually calculating
the resource size. This reduces the chance of introducing off-by-one
errors.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Artem Bityutskiy <Artem.Bityutskiy@nokia.com>
Signed-off-by: David Woodhouse <David.Woodhouse@intel.com>

No differences found