]> git.kernelconcepts.de Git - karo-tx-linux.git/commit
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)
commite5ad234485ee868c09f2d59b2ed94d6c6e6d3f19
tree6513ea1463223704363010649b0d92c7b5297cba
parent0d674d93a08f0073a9eb290bbac56fdedc4f319d
mfd: max899x: Avoid redundant irq_data lookup

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