diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-07-13 02:07:01 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-14 13:12:20 +0300 |
commit | 789f9dabfe44c1f7056aa0a7c9a9205de4d5261f (patch) | |
tree | 81e43d94a2cd9822450fc390eb8752b55a150e63 /drivers/gpio/gpio-davinci.c | |
parent | 2951a7990c4aac3bfa05ea8474eb2948ca73eaba (diff) | |
download | linux-789f9dabfe44c1f7056aa0a7c9a9205de4d5261f.tar.xz |
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