core: Basic port to uAPI v2
authorKent Gibson <warthog618@gmail.com>
Wed, 14 Oct 2020 11:30:52 +0000 (19:30 +0800)
committerBartosz Golaszewski <bgolaszewski@baylibre.com>
Wed, 14 Oct 2020 13:15:53 +0000 (15:15 +0200)
commit37f33cce6f4c31fff37925b855819b4868707300
treeeac053c28b7df05bf0d1e030c1597368446a1275
parentcc23ef61f66d5a9055b0e9fbdcfe6744c8a637ae
core: Basic port to uAPI v2

Port existing implementation from GPIO uAPI v1 to v2.
The libgpiod external interface remains unchanged, only the internal
implementation switches from uAPI v1 to v2.

This is a minimal port - uAPI v2 features are not used, only the
uAPI v1 calls are switched to the v2 equivalent.

Signed-off-by: Kent Gibson <warthog618@gmail.com>
Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>
include/gpiod.h
lib/core.c