[PATCH 6.13 097/138] gpiolib: check the return value of gpio_chip::get_direction()