gpio: move the pin ranges into gpio_device
authorLinus Walleij <linus.walleij@linaro.org>
Thu, 11 Feb 2016 10:03:06 +0000 (11:03 +0100)
committerLinus Walleij <linus.walleij@linaro.org>
Mon, 15 Feb 2016 23:20:02 +0000 (00:20 +0100)
commit20ec3e39fc12cf3a331ee73eb01d52bddcdd2fa4
tree4eabd98c542ad5c4a5f221544d25f44e98d41dc2
parent4e6fd26dcf5d70a7700a4c15d8f239103bdce91d
gpio: move the pin ranges into gpio_device

Instead of keeping this reference to the pin ranges in the
client driver-supplied gpio_chip, move it to the internal
gpio_device as the drivers have no need to inspect this.

Signed-off-by: Linus Walleij <linus.walleij@linaro.org>
drivers/gpio/gpiolib-acpi.c
drivers/gpio/gpiolib.c
drivers/gpio/gpiolib.h
include/linux/gpio/driver.h