diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-07-13 01:07:01 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-14 12:12:20 +0200 |
commit | 789f9dabfe44c1f7056aa0a7c9a9205de4d5261f (patch) | |
tree | 81e43d94a2cd9822450fc390eb8752b55a150e63 /drivers/gpio/gpio-davinci.c | |
parent | gpio/sa1100: Prepare sa1100_gpio_handler for irq argument removal (diff) | |
download | linux-789f9dabfe44c1f7056aa0a7c9a9205de4d5261f.tar.xz linux-789f9dabfe44c1f7056aa0a7c9a9205de4d5261f.zip |
gpio/msm-v2: Avoid redundant lookup of irq_data
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>
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
Diffstat (limited to 'drivers/gpio/gpio-davinci.c')
0 files changed, 0 insertions, 0 deletions