mfd: fix htc-egpio iomem resource handling using resource_size
authorPhilipp Zabel <philipp.zabel@gmail.com>
Wed, 4 Feb 2009 20:27:48 +0000 (21:27 +0100)
committerSamuel Ortiz <samuel@sortiz.org>
Tue, 17 Feb 2009 08:00:14 +0000 (09:00 +0100)
commit9427c34bc72f05b519e8466f27c38a3327bae157
treed7674df9599f540f266a5dd37c3157daf2a15d2f
parenta313d758cc7956d7f1e7a727c8fa571b6468fabf
mfd: fix htc-egpio iomem resource handling using resource_size

Fixes an off-by-one error in the iomem resource mapping.

Signed-off-by: Philipp Zabel <philipp.zabel@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@openedhand.com>
drivers/mfd/htc-egpio.c