diff options
author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-08-08 19:17:26 +0400 |
---|---|---|
committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-11 13:38:03 +0400 |
commit | a6ccdcd98c39ac13508570dbd943a1cf1b569f55 (patch) | |
tree | cabab74ae3665d0d3e4a59a7b74d9a39d2d03854 /include | |
parent | 015625a20f630c798a8c5fdf5d472be091b8ac7d (diff) | |
download | linux-a6ccdcd98c39ac13508570dbd943a1cf1b569f55.tar.xz |
mfd: 88pm860x: Use REG resource for backlight
Now resource of 88pm860x backlight is changed from IORESOURCE_IO
to IORESOURCE_REG. In original driver, the resource is using
self-defined IORESOURCE_IO. So change the resource to register
offset to match the definition of IORESOURCE_REG.
Signed-off-by: Haojian Zhuang <haojian.zhuang@gmail.com>
Signed-off-by: Samuel Ortiz <sameo@linux.intel.com>
Diffstat (limited to 'include')
-rw-r--r-- | include/linux/mfd/88pm860x.h | 8 |
1 files changed, 0 insertions, 8 deletions
diff --git a/include/linux/mfd/88pm860x.h b/include/linux/mfd/88pm860x.h index 7b24943779fa..b7e656d29be3 100644 --- a/include/linux/mfd/88pm860x.h +++ b/include/linux/mfd/88pm860x.h @@ -35,12 +35,6 @@ enum { }; enum { - PM8606_BACKLIGHT1 = 0, - PM8606_BACKLIGHT2, - PM8606_BACKLIGHT3, -}; - -enum { PM8606_LED1_RED = 0, PM8606_LED1_GREEN, PM8606_LED1_BLUE, @@ -340,10 +334,8 @@ enum { }; struct pm860x_backlight_pdata { - int id; int pwm; int iset; - unsigned long flags; }; struct pm860x_led_pdata { |