Loading
gpio: cdev: Correct return code on memory allocation failure
-ENOMEM is a more appropriate return code for memory allocation failures. Correct it. Cc: stable@vger.kernel.org Fixes: 20bddcb4 ("gpiolib: cdev: replace locking wrappers for gpio_device with guards") Signed-off-by:Tzung-Bi Shih <tzungbi@kernel.org> Link: https://lore.kernel.org/r/20260116081036.352286-6-tzungbi@kernel.org Signed-off-by:
Bartosz Golaszewski <bartosz.golaszewski@oss.qualcomm.com>