arm: mach-u300/gpio: Fix mem_region resource size miscalculations
authorJoe Perches <joe@perches.com>
Wed, 23 Mar 2011 19:55:37 +0000 (12:55 -0700)
committerJiri Kosina <jkosina@suse.cz>
Sun, 10 Apr 2011 15:01:04 +0000 (17:01 +0200)
commitb0c3af5ef0d7b38eb1ba522becd47123ac9736d2
tree01d3222cd3fe0d8204bc69569087db85cbd24867
parent99172a2f9edb3517f610fb93356a6a6a0c30f0c8
arm: mach-u300/gpio: Fix mem_region resource size miscalculations

Convert off-by-1 r->end - r->start to resource_size(r)

Signed-off-by: Joe Perches <joe@perches.com>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/arm/mach-u300/gpio.c