]> git.baikalelectronics.ru Git - kernel.git/commit
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)
commit86b56a41c095b4e7fa3c787baccfad93d186a2da
tree4eabd98c542ad5c4a5f221544d25f44e98d41dc2
parent410acfc16ce033a4a4ecd6f51be9a0cb0e54c2d6
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