mfd: max77686: Convert to use regmap_irq

By using the generic IRQ support in the Register map API, it
is possible to get rid max77686-irq.c and simplify the code.

Suggested-by: Krzysztof Kozlowski <k.kozlowski@samsung.com>
Signed-off-by: Javier Martinez Canillas <javier.martinez@collabora.co.uk>
Reviewed-by: Doug Anderson <dianders@chromium.org>
Tested-by: Doug Anderson <dianders@chromium.org>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
This commit is contained in:
Javier Martinez Canillas
2014-07-04 22:24:04 +02:00
committed by Lee Jones
parent 4eb9560b8f
commit 6f1c1e71d9
7 changed files with 123 additions and 356 deletions

View File

@@ -89,8 +89,6 @@ struct max77686_opmode_data {
};
struct max77686_platform_data {
/* IRQ */
int irq_gpio;
int ono;
int wakeup;