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

Since the resources of 88pm860x leds are changed from IORESOURCE_IO
to IORESOURCE_REG that is register offset, change the original
self-defined IORESOURCE_IO to register offset.

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