@brief Find a GPIO line by name among lines associated with given GPIO chip. @param chip The GPIO chip object. @param name The name of the GPIO line. @return Pointer to the GPIO line handle or NULL if the line could not be found or an error occurred. @note In case a line with given name is not associated with given chip, the function sets errno to ENOENT.