From: Linus Walleij Date: Wed, 9 Apr 2014 11:20:38 +0000 (+0200) Subject: gpio: set data first, then chip and handler X-Git-Tag: omap-for-v3.16/soc-signed~28^2~2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=7633fb959b711a8d91548911eb087fb931c7b8e4;p=pandora-kernel.git gpio: set data first, then chip and handler During irq mapping, in irq_set_chip_and_handler() the process of setting this up may incur calls to lock the irqchip, which in turn may need to dereference and use the chip data. So set the data first, then set the chip and handler. Signed-off-by: Linus Walleij --- Reading git-diff-tree failed