core: reuse the err_close_fd label in gpiod_chip_open()
core: reuse the err_close_fd label in gpiod_chip_open()

Remove redundant resource cleanup in error path after is_gpiochip_cdev()
and reuse the already existing label.

Signed-off-by: Bartosz Golaszewski <e5d45fddd9040473413b909b802f629a971ad04c@baylibre.com>

brgl/libgpiod,brgl/libgpiod,brgl/libgpiod,brgl/libgpiod