commit | 1765d671b18e58fdd6341edac9c22e57d90ef6a8 | [log] [tgz] |
---|---|---|
author | Thomas Gleixner <tglx@linutronix.de> | Mon Jul 13 01:18:56 2015 +0200 |
committer | Thomas Gleixner <tglx@linutronix.de> | Tue Jul 14 12:12:21 2015 +0200 |
tree | c2e4c00b6d7e47009f59fce133198066019d6984 | |
parent | 789f9dabfe44c1f7056aa0a7c9a9205de4d5261f [diff] |
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