@brief Open a gpiochip based on the best guess what the path is. @param descr String describing the gpiochip. @return GPIO chip handle or NULL if an error occurred.
This routine tries to figure out whether the user passed it the path to the GPIO chip, its name, label or number as a string. Then it tries to open it using one of the gpiod_chip_open** variants.