From: Daniel M. Weeks Date: Fri, 19 Jul 2013 04:19:58 +0000 (-0400) Subject: gpio-mcp23s08: i2c: auto-select base if no DT match or platform data X-Git-Tag: v3.12-rc1~111^2~20 X-Git-Url: http://git.openpandora.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=8a564065825cb92d412f107812ef50fe9ef43668;p=pandora-kernel.git gpio-mcp23s08: i2c: auto-select base if no DT match or platform data The call to gpiochip_add made by this driver is capable of auto-selecting a base if one is not provided. However, it was not called unless there was already a DT entry or platform data. This patch calls it even if the base is not already known so that gpiochip_add can attempt to find a usable base. Signed-off-by: Daniel M. Weeks Acked-by: Lars Poeschel Signed-off-by: Linus Walleij --- Reading git-diff-tree failed