diff options
author | Krzysztof Kozlowski <k.kozlowski@samsung.com> | 2014-12-29 10:09:16 +0100 |
---|---|---|
committer | Lee Jones <lee.jones@linaro.org> | 2015-01-22 16:03:55 +0000 |
commit | 2b50635ea376c89082ef1f3204bcd7791a6e37d7 (patch) | |
tree | 9a5bf24867917ff0f15dba1cbdd62d15ffe4ed6d /include/linux/mfd/max77686-private.h | |
parent | 5dd6eeb2c0c3f5e1364b51a11a7e47629655b6ff (diff) | |
download | blackbird-obmc-linux-2b50635ea376c89082ef1f3204bcd7791a6e37d7.tar.gz blackbird-obmc-linux-2b50635ea376c89082ef1f3204bcd7791a6e37d7.zip |
mfd: max77686/802: Remove support for board files
The driver is used only on Exynos based boards with DTS support.
After removal of board file support from max77686 and max77802 regulator
drivers, the MFD driver can be converted to DTS-only version. This
simplifies a little the code:
1. No dead (unused) entries in platform_data structure.
2. More code removed.
3. Regulator driver does not depend on allocated memory
from MFD driver.
4. It makes also easier extending the regulator driver.
Add to the max77686 MFD driver dependency on CONFIG_OF because without
DTS the regulator drivers (max77686 and max77802) won't bind.
Signed-off-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Reviewed-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Tested-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
Diffstat (limited to 'include/linux/mfd/max77686-private.h')
-rw-r--r-- | include/linux/mfd/max77686-private.h | 1 |
1 files changed, 0 insertions, 1 deletions
diff --git a/include/linux/mfd/max77686-private.h b/include/linux/mfd/max77686-private.h index 960b92ad450d..f5043490d67c 100644 --- a/include/linux/mfd/max77686-private.h +++ b/include/linux/mfd/max77686-private.h @@ -447,7 +447,6 @@ struct max77686_dev { struct regmap_irq_chip_data *rtc_irq_data; int irq; - bool wakeup; struct mutex irqlock; int irq_masks_cur[MAX77686_IRQ_GROUP_NR]; int irq_masks_cache[MAX77686_IRQ_GROUP_NR]; |