]> git.baikalelectronics.ru Git - kernel.git/commit
gpio: pca953x: Fix gpio_base may not default to -1
authorAaron Sierra <asierra@xes-inc.com>
Sat, 8 Feb 2014 01:23:04 +0000 (19:23 -0600)
committerLinus Walleij <linus.walleij@linaro.org>
Thu, 13 Feb 2014 13:04:30 +0000 (14:04 +0100)
commite8b7236bf0d69765b34f954767707cb74c41c43f
treefdb313cee3e43e7464186c5ff2be7707122895ed
parent3928d5ff1dc7d31d0facf8b4bf1cb48b02202a72
gpio: pca953x: Fix gpio_base may not default to -1

If no device tree node existed for a device when CONFIG_OF_GPIO was
defined, then gpio_base would not default to -1.

Signed-off-by: Aaron Sierra <asierra@xes-inc.com>
Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpio-pca953x.c