[PATCH 0/6] gpiolib refactorings after device addition

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



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



[Index of Archives]     [Linux SPI]     [Linux Kernel]     [Linux ARM (vger)]     [Linux ARM MSM]     [Linux Omap]     [Linux Arm]     [Linux Tegra]     [Fedora ARM]     [Linux for Samsung SOC]     [eCos]     [Linux Fastboot]     [Gcc Help]     [Git]     [DCCP]     [IETF Announce]     [Security]     [Linux MIPS]     [Yosemite Campsites]

  Powered by Linux