[PATCH 6.14 371/783] gpiolib: sanitize the return value of gpio_chip::set_config()