diff options
| author | Andrzej Hajda <a.hajda@samsung.com> | 2013-08-21 12:53:33 -0400 |
|---|---|---|
| committer | Lee Jones <lee.jones@linaro.org> | 2013-10-23 11:21:26 -0400 |
| commit | 4233a0aafb72985a4692a9e6af5c528811226ac1 (patch) | |
| tree | 7ac437f01964c33fdd18be7860f81e666bec4de4 /include/linux | |
| parent | 0248b4bfe56f0545c051e6230939ca8b95f1b037 (diff) | |
mfd: max77693: Remove device wakeup from driver
The patch removes wakeup related code from the driver and plaftorm
data - it is already handled by i2c core using I2C_CLIENT_WAKE flag
from struct i2c_board_info. As a result MFD itself do not requires
platform data.
Signed-off-by: Andrzej Hajda <a.hajda@samsung.com>
Signed-off-by: Kyungmin Park <kyungmin.park@samsung.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux')
| -rw-r--r-- | include/linux/mfd/max77693-private.h | 1 | ||||
| -rw-r--r-- | include/linux/mfd/max77693.h | 2 |
2 files changed, 0 insertions, 3 deletions
diff --git a/include/linux/mfd/max77693-private.h b/include/linux/mfd/max77693-private.h index 244fb0d51589..3e050b933dd0 100644 --- a/include/linux/mfd/max77693-private.h +++ b/include/linux/mfd/max77693-private.h | |||
| @@ -323,7 +323,6 @@ struct max77693_dev { | |||
| 323 | 323 | ||
| 324 | int irq; | 324 | int irq; |
| 325 | int irq_gpio; | 325 | int irq_gpio; |
| 326 | bool wakeup; | ||
| 327 | struct mutex irqlock; | 326 | struct mutex irqlock; |
| 328 | int irq_masks_cur[MAX77693_IRQ_GROUP_NR]; | 327 | int irq_masks_cur[MAX77693_IRQ_GROUP_NR]; |
| 329 | int irq_masks_cache[MAX77693_IRQ_GROUP_NR]; | 328 | int irq_masks_cache[MAX77693_IRQ_GROUP_NR]; |
diff --git a/include/linux/mfd/max77693.h b/include/linux/mfd/max77693.h index 676f0f388992..3f3dc45f93ee 100644 --- a/include/linux/mfd/max77693.h +++ b/include/linux/mfd/max77693.h | |||
| @@ -64,8 +64,6 @@ struct max77693_muic_platform_data { | |||
| 64 | }; | 64 | }; |
| 65 | 65 | ||
| 66 | struct max77693_platform_data { | 66 | struct max77693_platform_data { |
| 67 | int wakeup; | ||
| 68 | |||
| 69 | /* regulator data */ | 67 | /* regulator data */ |
| 70 | struct max77693_regulator_data *regulators; | 68 | struct max77693_regulator_data *regulators; |
| 71 | int num_regulators; | 69 | int num_regulators; |
