commit | b043ed7ef0b358d7f32dc57c218f925fd2802aba | [log] [tgz] |
---|---|---|
author | Kent Gibson <warthog618@gmail.com> | Tue Nov 05 10:04:28 2019 +0800 |
committer | Bartosz Golaszewski <bgolaszewski@baylibre.com> | Tue Nov 12 16:30:30 2019 +0100 |
tree | 4bb5908837de41b0a9505e3ec73ea361ad140372 | |
parent | 64e7112ee307834680eed578fdc0cfee63263fa7 [diff] |
gpiolib: move validation of line handle flags into helper function Move validation of line handle flags into helper function. This reduces the size and complexity of linehandle_create and allows the validation to be reused elsewhere. Signed-off-by: Kent Gibson <warthog618@gmail.com> Signed-off-by: Bartosz Golaszewski <bgolaszewski@baylibre.com>