From: Sonic Zhang Date: Mon, 1 Sep 2014 03:19:52 +0000 (+0800) Subject: gpio: mcp23s08 to support both device tree and platform data X-Git-Tag: fixes-against-v3.18-rc2~140^2~38 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3af0dbd592fe0a92002f16e341519ba03e92adf7;p=pandora-kernel.git gpio: mcp23s08 to support both device tree and platform data Device tree is not enabled in some architecture where gpio driver mcp23s08 is still required. v2-changes: - Parse device tree properties into platform data other than individual variables. v3-changes: - Use of_node in gpio_chip device structure, because the struct device * always has an of_node which is NULL when OF is not used. Signed-off-by: Sonic Zhang Reviewed-by: Alexandre Courbot Signed-off-by: Linus Walleij --- Reading git-diff-tree failed