diff options
| author | Haojian Zhuang <haojian.zhuang@gmail.com> | 2012-08-08 11:17:26 -0400 |
|---|---|---|
| committer | Samuel Ortiz <sameo@linux.intel.com> | 2012-09-11 05:38:03 -0400 |
| commit | a6ccdcd98c39ac13508570dbd943a1cf1b569f55 (patch) | |
| tree | cabab74ae3665d0d3e4a59a7b74d9a39d2d03854 /include/linux | |
| parent | 015625a20f630c798a8c5fdf5d472be091b8ac7d (diff) | |
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/linux')
| -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 { | |||
| 35 | }; | 35 | }; |
| 36 | 36 | ||
| 37 | enum { | 37 | enum { |
| 38 | PM8606_BACKLIGHT1 = 0, | ||
| 39 | PM8606_BACKLIGHT2, | ||
| 40 | PM8606_BACKLIGHT3, | ||
| 41 | }; | ||
| 42 | |||
| 43 | enum { | ||
| 44 | PM8606_LED1_RED = 0, | 38 | PM8606_LED1_RED = 0, |
| 45 | PM8606_LED1_GREEN, | 39 | PM8606_LED1_GREEN, |
| 46 | PM8606_LED1_BLUE, | 40 | PM8606_LED1_BLUE, |
| @@ -340,10 +334,8 @@ enum { | |||
| 340 | }; | 334 | }; |
| 341 | 335 | ||
| 342 | struct pm860x_backlight_pdata { | 336 | struct pm860x_backlight_pdata { |
| 343 | int id; | ||
| 344 | int pwm; | 337 | int pwm; |
| 345 | int iset; | 338 | int iset; |
| 346 | unsigned long flags; | ||
| 347 | }; | 339 | }; |
| 348 | 340 | ||
| 349 | struct pm860x_led_pdata { | 341 | struct pm860x_led_pdata { |
