]> git.karo-electronics.de Git - linux-beck.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)
commit2b1f597f7f40f8f289489eaa1a973254afc2a632
treefdb313cee3e43e7464186c5ff2be7707122895ed
parente73760a60582b667cfe6d2ba70b74d5297419c42
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