treewide: Fix iomap resource size miscalculations
authorJoe Perches <joe@perches.com>
Wed, 23 Mar 2011 19:55:36 +0000 (12:55 -0700)
committerJiri Kosina <jkosina@suse.cz>
Sun, 10 Apr 2011 15:01:04 +0000 (17:01 +0200)
commit06794eaeb766989e450c1b459ae28da76e1f8719
tree669739c584a5e404e06294d075b990378ef4bf4c
parentb0c3af5ef0d7b38eb1ba522becd47123ac9736d2
treewide: Fix iomap 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: David Brown <davidb@codeaurora.org>
Acked-by: Linus Walleij <linus.walleij@linaro.org>
Acked-by: Florian Fainelli <florian@openwrt.org>
Acked-by: Wim Van Sebroeck <wim@iguana.be>
Acked-by: Ralf Baechle <ralf@linux-mips.org>
Signed-off-by: Jiri Kosina <jkosina@suse.cz>
arch/arm/mach-ux500/mbox-db5500.c
arch/mips/rb532/gpio.c
drivers/video/msm/mddi.c
drivers/watchdog/bcm63xx_wdt.c