• Thomas Gleixner's avatar
    gpio/davinci: Avoid redundant lookup of irq_data · 1765d671
    Thomas Gleixner authored
    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: default avatarThomas 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
    1765d671
gpio-davinci.c 16.3 KB