core: allow cuse created gpiochip
authorNikita Shubin <nikita.shubin@maquefel.me>
Mon, 9 Dec 2024 12:23:37 +0000 (15:23 +0300)
committerNikita Shubin <nikita.shubin@maquefel.me>
Mon, 9 Dec 2024 12:23:37 +0000 (15:23 +0300)
commit7fd05cbf10351b2d1c578c95d47503a63e3fe6bc
tree67754af4037bd001c760ca007489a9a952263185
parentdb19ece3c5d5cf5f4f9af6473285de84a6a7e388
core: allow cuse created gpiochip

Add this to check if device was created via cuse and allow it. This
assumes no other device present on system.

Signed-off-by: Nikita Shubin <nikita.shubin@maquefel.me>
lib/internal.c