bindings: python: move gpiod_ChipIsClosed() to the top of gpiodmodule.c
authorBartosz Golaszewski <bartekgola@gmail.com>
Fri, 13 Jul 2018 16:34:50 +0000 (18:34 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Fri, 13 Jul 2018 16:34:50 +0000 (18:34 +0200)
commit150d2ca90b991d426daf51d2981ff79746200bef
treec36066fe95d4531d96a118ddc05df88e38f445f4
parentce2853562e73e25c8ab58ad3d24e2a49c6e9f4c5
bindings: python: move gpiod_ChipIsClosed() to the top of gpiodmodule.c

Unlike the other two helpers that are still declared at the top of the
source file - this routine doesn't need to know any gpiod-specific type
so move it up and remove the prototype.

Signed-off-by: Bartosz Golaszewski <bartekgola@gmail.com>
bindings/python/gpiodmodule.c