linux-gpio.vger.kernel.org archive mirror
 help / color / mirror / Atom feed
From: Bartosz Golaszewski <brgl@bgdev.pl>
To: Kent Gibson <warthog618@gmail.com>,
	Linus Walleij <linus.walleij@linaro.org>,
	Andy Shevchenko <andriy.shevchenko@linux.intel.com>
Cc: "open list:GPIO SUBSYSTEM" <linux-gpio@vger.kernel.org>,
	Bartosz Golaszewski <bgolaszewski@baylibre.com>
Subject: Re: [libgpiod][PATCH 0/6] treewide: another bunch of cleanups for v2.0
Date: Wed, 17 Mar 2021 11:25:11 +0100	[thread overview]
Message-ID: <CAMRc=MesUk9cssFRhrftwwa49hW3rQObLuTBo9pUe_ed6xtj8A@mail.gmail.com> (raw)
In-Reply-To: <20210309132639.29069-1-brgl@bgdev.pl>

On Tue, Mar 9, 2021 at 2:26 PM Bartosz Golaszewski <brgl@bgdev.pl> wrote:
>
> From: Bartosz Golaszewski <bgolaszewski@baylibre.com>
>
> Kent suggested I send the patches for v2.0 API in smaller batches for earlier
> review instead of dropping a huge patch bomb that will require more work from
> my side and may later be negatively reviewed so here's a hopefully the last
> part of cleanups that can go into master already before first patches with the
> new C API will drop.
>
> The idea for the new C API is this: all objects are opaque and refcounted. This
> is why the chip was converted to reference counting. Lines were removed and
> their functionality split into line_info and line_request, this is why I'm
> reworking line lookup to return the HW offset within a chip and not the line
> object. Other patches are mostly cleanups and cruft shave-off.
>
> Bartosz Golaszewski (6):
>   treewide: simplify line lookup
>   tests: remove line bulk test cases
>   core: switch to reference counting for gpio chip objects
>   treewide: remove is_requested() and is_free()
>   treewide: kill line updating
>   core: hide the GPIOD_API symbol
>

If there are no objections, I will apply those soon.

Bart

      parent reply	other threads:[~2021-03-17 10:26 UTC|newest]

Thread overview: 11+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2021-03-09 13:26 [libgpiod][PATCH 0/6] treewide: another bunch of cleanups for v2.0 Bartosz Golaszewski
2021-03-09 13:26 ` [libgpiod][PATCH 1/6] treewide: simplify line lookup Bartosz Golaszewski
2021-03-09 13:26 ` [libgpiod][PATCH 2/6] tests: remove line bulk test cases Bartosz Golaszewski
2021-03-09 13:26 ` [libgpiod][PATCH 3/6] core: switch to reference counting for gpio chip objects Bartosz Golaszewski
2021-03-09 13:26 ` [libgpiod][PATCH 4/6] treewide: remove is_requested() and is_free() Bartosz Golaszewski
2021-03-09 13:26 ` [libgpiod][PATCH 5/6] treewide: kill line updating Bartosz Golaszewski
2021-03-09 13:26 ` [libgpiod][PATCH 6/6] core: hide the GPIOD_API symbol Bartosz Golaszewski
2021-03-09 15:07   ` Andy Shevchenko
2021-03-09 15:18     ` Bartosz Golaszewski
2021-03-09 15:28       ` Andy Shevchenko
2021-03-17 10:25 ` Bartosz Golaszewski [this message]

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='CAMRc=MesUk9cssFRhrftwwa49hW3rQObLuTBo9pUe_ed6xtj8A@mail.gmail.com' \
    --to=brgl@bgdev.pl \
    --cc=andriy.shevchenko@linux.intel.com \
    --cc=bgolaszewski@baylibre.com \
    --cc=linus.walleij@linaro.org \
    --cc=linux-gpio@vger.kernel.org \
    --cc=warthog618@gmail.com \
    /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).