aboutsummaryrefslogtreecommitdiffstats
path: root/include/linux/mfd/88pm860x.h
diff options
context:
space:
mode:
authorHaojian Zhuang <haojian.zhuang@gmail.com>2012-08-08 11:17:27 -0400
committerSamuel Ortiz <sameo@linux.intel.com>2012-09-11 05:38:09 -0400
commit894fc8f2c295373e6c73943d8bc2023cc49b9bb0 (patch)
treecdb7484175436b0737596bbebf427363a641f49a /include/linux/mfd/88pm860x.h
parenta6ccdcd98c39ac13508570dbd943a1cf1b569f55 (diff)
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>
Diffstat (limited to 'include/linux/mfd/88pm860x.h')
-rw-r--r--include/linux/mfd/88pm860x.h12
1 files changed, 0 insertions, 12 deletions
diff --git a/include/linux/mfd/88pm860x.h b/include/linux/mfd/88pm860x.h
index b7e656d29be3..2d042f972c68 100644
--- a/include/linux/mfd/88pm860x.h
+++ b/include/linux/mfd/88pm860x.h
@@ -34,16 +34,6 @@ enum {
34 PM8606_ID_MAX, 34 PM8606_ID_MAX,
35}; 35};
36 36
37enum {
38 PM8606_LED1_RED = 0,
39 PM8606_LED1_GREEN,
40 PM8606_LED1_BLUE,
41 PM8606_LED2_RED,
42 PM8606_LED2_GREEN,
43 PM8606_LED2_BLUE,
44 PM8607_LED_VIBRATOR,
45};
46
47 37
48/* 8606 Registers */ 38/* 8606 Registers */
49#define PM8606_DCM_BOOST (0x00) 39#define PM8606_DCM_BOOST (0x00)
@@ -339,9 +329,7 @@ struct pm860x_backlight_pdata {
339}; 329};
340 330
341struct pm860x_led_pdata { 331struct pm860x_led_pdata {
342 int id;
343 int iset; 332 int iset;
344 unsigned long flags;
345}; 333};
346 334
347struct pm860x_rtc_pdata { 335struct pm860x_rtc_pdata {