gpiomon: use the simple event loop
authorBartosz Golaszewski <bartekgola@gmail.com>
Tue, 26 Sep 2017 21:58:44 +0000 (23:58 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Wed, 27 Sep 2017 08:03:05 +0000 (10:03 +0200)
commitdb849a81a64034614441251946703287ab964ae8
treecdb5b24684478aa79205b5972ab7580807758e0c
parenta7ee495b12820d323ca4fca9c91e7403258d6d7c
gpiomon: use the simple event loop

Switch to using the high-level API. This significantly shrinks the
code while keeping all the functionality.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
src/tools/gpiomon.c
tests/tests-gpiomon.c