From: Thomas Gleixner Date: Sun, 12 Jul 2015 23:18:56 +0000 (+0200) Subject: gpio/davinci: Avoid redundant lookup of irq_data X-Git-Tag: omap-for-v4.3/fixes-rc1~96^2~38^2~1 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=1765d671b18e58fdd6341edac9c22e57d90ef6a8;p=pandora-kernel.git 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 Cc: Linus Walleij Cc: Alexandre Courbot Cc: Jiang Liu Cc: linux-gpio@vger.kernel.org --- Reading git-diff-tree failed