mfd: arizona: Fix typo in arizona_irq_map
authorCharles Keepax <ckeepax@opensource.wolfsonmicro.com>
Fri, 11 Sep 2015 15:07:56 +0000 (16:07 +0100)
committerLee Jones <lee.jones@linaro.org>
Mon, 26 Oct 2015 14:49:05 +0000 (14:49 +0000)
The type of the data for the main Arizona IRQ chip should be struct
arizona not struct regmap_irq_chip_data. The bug is harmless but should
probably be corrected anyway.

Signed-off-by: Charles Keepax <ckeepax@opensource.wolfsonmicro.com>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/arizona-irq.c

index 2cac4f463f1e679fca4cbd95ec03b5e461b590d2..3d425e93ce845602ee72bc425ef4543584952e31 100644 (file)
@@ -169,7 +169,7 @@ static struct irq_chip arizona_irq_chip = {
 static int arizona_irq_map(struct irq_domain *h, unsigned int virq,
                              irq_hw_number_t hw)
 {
-       struct regmap_irq_chip_data *data = h->host_data;
+       struct arizona *data = h->host_data;
 
        irq_set_chip_data(virq, data);
        irq_set_chip_and_handler(virq, &arizona_irq_chip, handle_simple_irq);