From: Linus Walleij Date: Fri, 12 Dec 2014 10:22:11 +0000 (+0100) Subject: gpio: mcp23s08: fix up compilation error X-Git-Tag: omap-for-v3.19/fixes-rc1~89^2 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=170680abd1eb98a9773ed068435fef9a6402a10f;p=pandora-kernel.git gpio: mcp23s08: fix up compilation error The driver depends on the chip.of_node being present to compile, which is the case on some target platforms but not others. Instead, rely on chip.dev->of_node to be used, as struct device always has an of_node in place. Cc: Alexander Stein Suggested-by: Linus Torvalds Signed-off-by: Linus Walleij --- Reading git-diff-tree failed