linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Linus Walleij <linus.walleij@linaro.org>
To: linux-gpio@vger.kernel.org,
	Alexandre Courbot <acourbot@nvidia.com>,
	Johan Hovold <johan@kernel.org>,
	Michael Welling <mwelling@ieee.org>,
	Markus Pargmann <mpa@pengutronix.de>
Cc: Bamvor Jian Zhang <bamvor.zhangjian@linaro.org>,
	Grant Likely <grant.likely@linaro.org>,
	Linus Walleij <linus.walleij@linaro.org>
Subject: [PATCH 0/6] gpiolib refactorings after device addition
Date: Thu, 11 Feb 2016 11:26:17 +0100	[thread overview]
Message-ID: <1455186383-28004-1-git-send-email-linus.walleij@linaro.org> (raw)

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


             reply	other threads:[~2016-02-11 10:26 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2016-02-11 10:26 Linus Walleij [this message]
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

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1455186383-28004-1-git-send-email-linus.walleij@linaro.org \
    --to=linus.walleij@linaro.org \
    --cc=acourbot@nvidia.com \
    --cc=bamvor.zhangjian@linaro.org \
    --cc=grant.likely@linaro.org \
    --cc=johan@kernel.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=mpa@pengutronix.de \
    --cc=mwelling@ieee.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
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).