All of lore.kernel.org
 help / color / mirror / Atom feed
* [libgpiod][PATCH 0/2] treewide: remove ctxless API
@ 2020-11-12 11:06 Bartosz Golaszewski
  2020-11-12 11:06 ` [libgpiod][PATCH 1/2] core: provide gpiod_line_bulk_clear() Bartosz Golaszewski
                   ` (2 more replies)
  0 siblings, 3 replies; 5+ messages in thread
From: Bartosz Golaszewski @ 2020-11-12 11:06 UTC (permalink / raw)
  To: Kent Gibson, Andy Shevchenko; +Cc: linux-gpio, Bartosz Golaszewski

From: Bartosz Golaszewski <bgolaszewski@baylibre.com>

As I mentioned in another thread: the context-less API seems to be unused
outside the gpio-tools. There's no reason to keep it in v2 then. Let's
remove it and convert gpio-tools to regular API.

The tools are converted in a rather quick and dirty way because I don't want
to spend a lot of time on something that'll be modified soon once we convert
the library to using uAPI v2.

All tests still pass.

Bartosz Golaszewski (2):
  core: provide gpiod_line_bulk_clear()
  ctxless: drop all context-less interfaces

 include/gpiod.h            | 412 +--------------------------------
 lib/Makefile.am            |   2 +-
 lib/core.c                 |   8 +-
 lib/ctxless.c              | 456 -------------------------------------
 tests/Makefile.am          |   1 -
 tests/tests-ctxless.c      | 375 ------------------------------
 tools/gpio-tools-test.bats |  12 +-
 tools/gpiofind.c           |  25 +-
 tools/gpioget.c            |  36 ++-
 tools/gpiomon.c            | 177 +++++++-------
 tools/gpioset.c            |  42 +++-
 tools/tools-common.c       |   6 +-
 12 files changed, 182 insertions(+), 1370 deletions(-)
 delete mode 100644 lib/ctxless.c
 delete mode 100644 tests/tests-ctxless.c

-- 
2.29.1


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

end of thread, other threads:[~2020-11-17 14:01 UTC | newest]

Thread overview: 5+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2020-11-12 11:06 [libgpiod][PATCH 0/2] treewide: remove ctxless API Bartosz Golaszewski
2020-11-12 11:06 ` [libgpiod][PATCH 1/2] core: provide gpiod_line_bulk_clear() Bartosz Golaszewski
2020-11-13  8:41   ` Bartosz Golaszewski
2020-11-12 11:06 ` [libgpiod][PATCH 2/2] ctxless: drop all context-less interfaces Bartosz Golaszewski
2020-11-17 14:00 ` [libgpiod][PATCH 0/2] treewide: remove ctxless API Bartosz Golaszewski

This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.