bindings: python: call gpiod_LineBulk_init() directly
authorBartosz Golaszewski <bartekgola@gmail.com>
Fri, 13 Jul 2018 13:57:25 +0000 (15:57 +0200)
committerBartosz Golaszewski <bartekgola@gmail.com>
Fri, 13 Jul 2018 13:58:27 +0000 (15:58 +0200)
commit048f0dc26e6b2da4ab5627effa5c03aa0f290c5d
tree2fbec18b21dd6b127d0afd2106a76eb65e87c268
parentf7e284ee6ea1332a2577c1b85167cb4d2a41ccf3
bindings: python: call gpiod_LineBulk_init() directly

Using the .tp_init callback is more complicated and unnecessary. Call
gpiod_LineBulk_init() directly from gpiod_ListToLineBulk().

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