diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-07-13 01:18:56 +0200 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-14 12:12:21 +0200 |
commit | 1765d671b18e58fdd6341edac9c22e57d90ef6a8 (patch) | |
tree | c2e4c00b6d7e47009f59fce133198066019d6984 /drivers/gpio/gpio-vf610.c | |
parent | gpio/msm-v2: Avoid redundant lookup of irq_data (diff) | |
download | linux-1765d671b18e58fdd6341edac9c22e57d90ef6a8.tar.xz linux-1765d671b18e58fdd6341edac9c22e57d90ef6a8.zip |
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
Diffstat (limited to 'drivers/gpio/gpio-vf610.c')
0 files changed, 0 insertions, 0 deletions