• Thomas Gleixner's avatar
    gpio/msm-v2: Avoid redundant lookup of irq_data · 789f9dab
    Thomas Gleixner authored
    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: 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
    789f9dab
gpio-msm-v2.c 12.9 KB