diff options
author | Daniel M. Weeks <dan@danweeks.net> | 2013-07-19 00:19:58 -0400 |
---|---|---|
committer | Linus Walleij <linus.walleij@linaro.org> | 2013-08-16 15:07:46 +0200 |
commit | 8a564065825cb92d412f107812ef50fe9ef43668 (patch) | |
tree | 9190a65f02945146c80fe78cb280e33ef19d814b /drivers/gpio/gpio-ts5500.c | |
parent | 8b628c659ce1e2a8714ebcfe55f80457a4ebe734 (diff) |
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 <dan@danweeks.net>
Acked-by: Lars Poeschel <poeschel@lemonage.de>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
Diffstat (limited to 'drivers/gpio/gpio-ts5500.c')
0 files changed, 0 insertions, 0 deletions