omap: Use resource_size
authorTobias Klauser <tklauser@distanz.ch>
Wed, 11 Nov 2009 02:55:19 +0000 (18:55 -0800)
committerTony Lindgren <tony@atomide.com>
Wed, 11 Nov 2009 02:55:19 +0000 (18:55 -0800)
Use the resource_size function instead of manually calculating the
resource size. This reduces the chance of introducing off-by-one errors
and actually fixes one in mailbox.c.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
Signed-off-by: Tony Lindgren <tony@atomide.com>

No differences found