Commit Graph

2 Commits

Author SHA1 Message Date
rpaulo
af3ff681e3 Fix an off-by-one in gpio_pin_list().
Coverity CID:	1256495
2014-12-02 06:24:45 +00:00
rpaulo
7b5aae7235 Import libgpio.
This is a thin wrapper around the kernel interface which should make
it easier to write GPIO applications.  gpioctl(8) will be converted to
use this library in a separate commit.

Differential Revision:	https://reviews.freebsd.org/D1183
Reviewed by:	adrian, loos
Discussed on:	arm@, embedded@
Relnotes:	yes
2014-11-24 21:49:40 +00:00