This is a series of refactorings which is basically internalizing some of the stuff from the gpio_chip managed and owned by each subdriver over into the gpio_device which is managed and owned by the gpiolib core. I will merge them soon-ish unless there are major comments, as it IMO completes a step in the transition to the new device and chardev-backed gpiolib. Linus Walleij (6): gpio: remember to finally free gpio_device gpio: move sysfs mock device to the gpio_device gpio: move descriptors into gpio_device gpio: reflect base and ngpio into gpio_device gpio: reference count the gpio device for each desc gpio: move the pin ranges into gpio_device drivers/gpio/gpiolib-sysfs.c | 35 ++--- drivers/gpio/gpiolib.c | 317 ++++++++++++++++++++++--------------------- drivers/gpio/gpiolib.h | 23 +++- include/linux/gpio/driver.h | 4 - 4 files changed, 198 insertions(+), 181 deletions(-) -- 2.4.3 -- To unsubscribe from this list: send the line "unsubscribe linux-gpio" in the body of a message to majordomo@xxxxxxxxxxxxxxx More majordomo info at http://vger.kernel.org/majordomo-info.html