diff options
author | Thomas Gleixner <tglx@linutronix.de> | 2015-07-13 02:18:56 +0300 |
---|---|---|
committer | Thomas Gleixner <tglx@linutronix.de> | 2015-07-14 13:12:21 +0300 |
commit | 1765d671b18e58fdd6341edac9c22e57d90ef6a8 (patch) | |
tree | c2e4c00b6d7e47009f59fce133198066019d6984 /drivers/nvdimm/btt.h | |
parent | 789f9dabfe44c1f7056aa0a7c9a9205de4d5261f (diff) | |
download | linux-1765d671b18e58fdd6341edac9c22e57d90ef6a8.tar.xz |
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/nvdimm/btt.h')
0 files changed, 0 insertions, 0 deletions