gpio: tz1090: Use resource_size to fix off-by-one
authorAxel Lin <axel.lin@ingics.com>
Sun, 28 Dec 2014 06:00:39 +0000 (14:00 +0800)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 15 Jan 2015 16:23:21 +0000 (17:23 +0100)
commit08b89fa20bf292b6b7cd4c7fbaa6c147d4cc9e07
treedbfe41bcd329667253759005c5e18a4d01d0f3e4
parenta7ce835376fd300ae4ec08f9aa3dfe6f8568111b
gpio: tz1090: Use resource_size to fix off-by-one

Use resource_size to fix off-by-one resource size calculation

Signed-off-by: Axel Lin <axel.lin@ingics.com>
Acked-by: James Hogan <james.hogan@imgtec.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-tz1090.c