gpio/davinci: Use accessor function irq_data_get_irq_handler_data()
authorJiang Liu <jiang.liu@linux.intel.com>
Mon, 1 Jun 2015 08:05:19 +0000 (16:05 +0800)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 14 Jul 2015 10:12:20 +0000 (12:12 +0200)
This is a preparatory patch for moving irq_data struct members.

Signed-off-by: Jiang Liu <jiang.liu@linux.intel.com>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
drivers/gpio/gpio-davinci.c

index c5e05c82d67c6c2cd8fdeac5996413e99455a3d1..477d5b8616ab99f7b6f9869914997c55fe9a21b1 100644 (file)
@@ -396,7 +396,7 @@ static int gpio_irq_type_unbanked(struct irq_data *data, unsigned trigger)
        struct davinci_gpio_regs __iomem *g;
        u32 mask;
 
-       d = (struct davinci_gpio_controller *)data->handler_data;
+       d = (struct davinci_gpio_controller *)irq_data_get_irq_handler_data(data);
        g = (struct davinci_gpio_regs __iomem *)d->regs;
        mask = __gpio_mask(data->irq - d->gpio_irq);