core: remove kernel data structures from struct gpiod_line
authorBartosz Golaszewski <bartekgola@gmail.com>
Thu, 19 Oct 2017 16:07:09 +0000 (18:07 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Thu, 19 Oct 2017 16:07:09 +0000 (18:07 +0200)
commit5a8d681dca1d4bc3b5ebd5c4188b3e3e6f23acfd
tree7beb9759fbf956a63c70db93626b75cf2a9bca23
parentf7943d086a5c093b9efe8caf821578ca3dba3d08
core: remove kernel data structures from struct gpiod_line

The structures defined in linux/gpio.h use non-standard data types.

Use them only when calling relevant ioctl()s and then copy the
necessary info to separate fields in struct gpiod_line.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/lib/core.c