gpio/davinci: Avoid redundant lookup of irq_data
authorThomas Gleixner <tglx@linutronix.de>
Sun, 12 Jul 2015 23:18:56 +0000 (01:18 +0200)
committerThomas Gleixner <tglx@linutronix.de>
Tue, 14 Jul 2015 10:12:21 +0000 (12:12 +0200)
commit1765d671b18e58fdd6341edac9c22e57d90ef6a8
treec2e4c00b6d7e47009f59fce133198066019d6984
parent789f9dabfe44c1f7056aa0a7c9a9205de4d5261f
gpio/davinci: Avoid redundant lookup of irq_data

It's pretty silly to do

     void *cd = irq_get_chip_data(irq_data->irq);

because that results in cd = irq_data->chip_data, but goes through a
redundant lookup of the irq_data. Use irq_data directly.

Signed-off-by: Thomas Gleixner <tglx@linutronix.de>
Cc: Linus Walleij <linus.walleij@linaro.org>
Cc: Alexandre Courbot <gnurou@gmail.com>
Cc: Jiang Liu <jiang.liu@linux.intel.com>
Cc: linux-gpio@vger.kernel.org
drivers/gpio/gpio-davinci.c
This page took 0.179194 seconds and 5 git commands to generate.