mfd: 88pm860x: Use REG resource in regulator
authorHaojian Zhuang <haojian.zhuang@gmail.com>
Wed, 8 Aug 2012 15:17:28 +0000 (23:17 +0800)
committerSamuel Ortiz <sameo@linux.intel.com>
Tue, 11 Sep 2012 09:38:17 +0000 (11:38 +0200)
commita70abacb06b884131ec181551a71ef325490f374
tree4372f7751588d3b47a56571e36edfcf9a0fde0a8
parent894fc8f2c295373e6c73943d8bc2023cc49b9bb0
mfd: 88pm860x: Use REG resource in regulator

Since IORESOURCE_IO is changed to IORESOURCE_REG in 88pm860x driver,
update self-defined IORESOURCE_IO resource to register offset that
is IORESOURCE_REG in regulator driver. And split regulator platform
data array into scattered platform data.

Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
drivers/mfd/88pm860x-core.c
drivers/regulator/88pm8607.c
include/linux/mfd/88pm860x.h