linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
* [PATCH 0/6] gpiolib refactorings after device addition
@ 2016-02-11 10:26 Linus Walleij
  2016-02-11 10:26 ` [PATCH 1/6] gpio: remember to finally free gpio_device Linus Walleij
                   ` (5 more replies)
  0 siblings, 6 replies; 7+ messages in thread
From: Linus Walleij @ 2016-02-11 10:26 UTC (permalink / raw)
  To: linux-gpio, Alexandre Courbot, Johan Hovold, Michael Welling,
	Markus Pargmann
  Cc: Bamvor Jian Zhang, Grant Likely, Linus Walleij

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


^ permalink raw reply	[flat|nested] 7+ messages in thread

end of thread, other threads:[~2016-02-11 10:26 UTC | newest]

Thread overview: 7+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-02-11 10:26 [PATCH 0/6] gpiolib refactorings after device addition Linus Walleij
2016-02-11 10:26 ` [PATCH 1/6] gpio: remember to finally free gpio_device Linus Walleij
2016-02-11 10:26 ` [PATCH 2/6] gpio: move sysfs mock device to the gpio_device Linus Walleij
2016-02-11 10:26 ` [PATCH 3/6] gpio: move descriptors into gpio_device Linus Walleij
2016-02-11 10:26 ` [PATCH 4/6] gpio: reflect base and ngpio " Linus Walleij
2016-02-11 10:26 ` [PATCH 5/6] gpio: reference count the gpio device for each desc Linus Walleij
2016-02-11 10:26 ` [PATCH 6/6] gpio: move the pin ranges into gpio_device Linus Walleij

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).