mfd: Fix sm501 requested region size
authorSamuel Ortiz <sameo@linux.intel.com>
Mon, 8 Mar 2010 19:07:48 +0000 (20:07 +0100)
committerSamuel Ortiz <sameo@linux.intel.com>
Fri, 12 Mar 2010 08:08:59 +0000 (09:08 +0100)
commita5300dcbbd5d455a1a5978095b8f78af66c540a6
tree443b152fe37c0a9ada102b5f6b45d002d808bf5e
parent522dba7134d6b2e5821d3457f7941ec34f668e6d
mfd: Fix sm501 requested region size

We should only request for the MFD used region, not the whole thing.

Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Tested-by: Paul Mundt <lethal@linux-sh.org>
Reviewed-by: H Hartley Sweeten <hsweeten@visionengravers.com>
drivers/mfd/sm501.c