mfd: max899x: Avoid redundant irq_data lookup
authorThomas Gleixner <tglx@linutronix.de>
Mon, 13 Jul 2015 20:44:59 +0000 (20:44 +0000)
committerLee Jones <lee.jones@linaro.org>
Tue, 11 Aug 2015 14:09:08 +0000 (15:09 +0100)
It's pretty silly to do

     irq_data *d = irq_get_irq_data(irq_data->irq);

because that results in d = irq_data, but goes through a lookup of the
irq_data. Use irq_data directly.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Signed-off-by: Lee Jones <lee.jones@linaro.org>
drivers/mfd/max8997-irq.c
drivers/mfd/max8998-irq.c

Simple merge
Simple merge