diff options
author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-08-08 23:17:27 +0800 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-11 11:38:09 +0200 |
commit | 894fc8f2c295373e6c73943d8bc2023cc49b9bb0 (patch) | |
tree | cdb7484175436b0737596bbebf427363a641f49a /include/linux/mfd | |
parent | a6ccdcd98c39ac13508570dbd943a1cf1b569f55 (diff) | |
download | blackbird-obmc-linux-894fc8f2c295373e6c73943d8bc2023cc49b9bb0.tar.gz blackbird-obmc-linux-894fc8f2c295373e6c73943d8bc2023cc49b9bb0.zip |
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')
-rw-r--r-- | include/linux/mfd/88pm860x.h | 12 |
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 { PM8606_ID_MAX, }; -enum { - PM8606_LED1_RED = 0, - PM8606_LED1_GREEN, - PM8606_LED1_BLUE, - PM8606_LED2_RED, - PM8606_LED2_GREEN, - PM8606_LED2_BLUE, - PM8607_LED_VIBRATOR, -}; - /* 8606 Registers */ #define PM8606_DCM_BOOST (0x00) @@ -339,9 +329,7 @@ struct pm860x_backlight_pdata { }; struct pm860x_led_pdata { - int id; int iset; - unsigned long flags; }; struct pm860x_rtc_pdata { |