From: Grant Likely Date: Thu, 17 May 2012 19:54:40 +0000 (-0600) Subject: gpio: Adjust of_xlate API to support multiple GPIO chips X-Git-Tag: v3.5-rc1~93^2~7 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3d0f7cf0f3633f92ddeb767eb59cab73963d4dee;p=pandora-kernel.git gpio: Adjust of_xlate API to support multiple GPIO chips This patch changes the of_xlate API to make it possible for multiple gpio_chips to refer to the same device tree node. This is useful for banked GPIO controllers that use multiple gpio_chips for a single device. With this change the core code will try calling of_xlate on each gpio_chip that references the device_node and will return the gpio number for the first one to return 'true'. Tested-by: Roland Stigge Acked-by: Arnd Bergmann Signed-off-by: Grant Likely --- Reading git-diff-tree failed